To illustrate the Cauchy problem for a first-order ode with an infinite family of solutions, I would build a parameterized solution and be able to control the value of the parameter through the slider.
To complete the Cauchy problem: y '= sqrt (| y |), y (0) = 0, and the parametric solution y_c (x): = {0, if c => x; (xc) ^ 2/4 if x => c}.So I would get a graph of y = y_c (x) with a slider to control the value of c.
Thank.
You can use with_slider_draw in wxMaxima to do this.
Y(c,x) := if c>x then 0 else (x-c)^2/4; with_slider_draw( c, /* the name of the variable to attach to the slider */ makelist(i,i,0,1,0.1), /* a list of values that the variable can have */ explicit(Y(c,x), x, 0, 2) /* plot the function */ )$
wxMaxima , Play , , , c.
Maxima Sage notebook . . Sage Maxima.