I don't know if you are asking about how to use ICs in desolve or if you are asking about how to do substitutions. Anyway, I get this:
sage: y=function('y',x) sage: desolve(diff(y,x)+sin(x)*y^6==0,y) 1/(5*y(x)^5) == c - cos(x) sage: desolve(diff(y,x)+sin(x)*y^6==0,y,[pi,9]) 1/(5*y(x)^5) == (-295245*cos(x) - 295244)/295245 Does that help? On Tue, Apr 28, 2009 at 10:36 AM, ma...@mendelu.cz <ma...@mendelu.cz> wrote: > > Dear memebers of SAGE-support > > I wonder if it is possible to substitute initial conditions into an > equation produced by desolve. I tried something like > > y=function('y',x) > desolve(diff(y,x)+sin(x)*y^6==0,y) > sol({x:pi,y:9}) > > and got > > 1/(5*y(pi)^5) == c + 1 > > > but I would like to see > > > 1/(5*9^5) == c + 1 > > many 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 URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---