[Maxima] Any light ?
vi5u0-maxima at yahoo.co.uk
Sat May 5 05:22:28 CDT 2012
On Sat, 5 May 2012, aishen at free.fr wrote:
> assume(omega > 0)$
> ode2( 'diff(y, t, 2) + omega^2* y= 0, y, t );
> ic2(%, t = 0, y = a, 'diff(y,t) = 0);
> y=a*cos(omega*t) is the answer ...
> I am trying to get a sin ... instead a cos but I can't !!!
The 'diff(y,t) term in your ic2 command imposes a boundary condition
that the sine can satisfy only by having a zero coefficient, i.e. by
being absent from the answer.
More information about the Maxima