Dear sage users and developers
trying to solve y''+4y=0 with initial conditions y(0)=0 and y'(0)=0
y=function('y',x)
eq=diff(y,x,2)+4*y==0
desolve(eq,y,ics=[0,0,0])
sage returns y(0)*cos(2*x) and not 0
What is wrong? The help for the desolve command shows the same
behavior on slighhtly more complicated example. I think that if I
state initial condition at 0, then y(0) is known and I can use this
knowledge and simplify answer - in my case into 0
Thanks
Robert
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---