## declare variables var('x') y = function('y')(x) ## third order deq deq = derivative(y,x,3) + y == 0 ## y(y)==0, y'(0)==0, y''(2)==1 ics = [0,0, 0,0, 2,1] ## solution soln = desolve(deq,y)
returns: NotImplementedError: Maxima was unable to solve this ODE. Consider to set option contrib_ode to True. However, maxima can solve this ODE. sage: maxima('desolve(deq,y(x))') y(x)=%e^(x/2)*(sin(sqrt(3)*x/2)*(2*(2*('at('diff(y(x),x,2),x=0))+'at('diff(y(x),x,1),x=0)-y(0))/3-('at('diff(y(x),x,2),x=0)-'at('diff(y(x),x,1),x=0)-2*y(0))/3)/sqrt(3)-cos(sqrt(3)*x/2)*('at('diff(y(x),x,2),x=0)-'at('diff(y(x),x,1),x=0)-2*y(0))/3)+%e^-x*('at('diff(y(x),x,2),x=0)-'at('diff(y(x),x,1),x=0)+y(0))/3 How do I solve this equation with ics? -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.