This is a known bug. Marshall and I tried to fix it during a SageDays in Seattle but failed to figure out the magic in Robert Bradshaw's code for desolve. I think it is "easy to fix for those who know how to fix it easily", but that rules me out:-)
On Sat, Oct 3, 2009 at 3:30 AM, ma...@mendelu.cz <ma...@mendelu.cz> wrote: > > 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 sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---