Calculate the integration of Maxima



On Mon, 2006-03-13 at 06:36 +0100, Mario Rodriguez wrote:
> El dom, 12-03-2006 a las 21:06 -0800, Nguyen Huong escribi??:
...
> > dy(x)/d(x) = x and y(2) = 0 and y(x) = 0.
> >
> Hi Nguyen,
> 
> describe(ode2), describe(ic1) and describe(ic2) give you information
> about how to handle differential equations in Maxima:

> /************  begin Maxima session  **********************/
> (%i1) eq: 'diff(y,x)=x; /* note the quote ' here */
>                                     dy
> (%o1)                               -- = x
>                                     dx
> (%i2) ode2(eq,y,x);
>                                        2
>                                       x
> (%o2)                             y = -- + %c
>                                       2
> (%i3) ic1(%,x=2,y=0);
>                                        2
>                                       x  - 4
> (%o3)                             y = ------
>                                         2
> /************  begin Maxima session  **********************/
> 
and one more last step:

(%i4) solve(ev(%,y=0));
(%o4)                          [x = - 2, x = 2]

Jaime