Did you try sympy? On Friday, May 25, 2012, Priyanka Kapoor wrote:
> I want to know how to solve fourth order differential equation in > sagemath. Question which i actually want to solve is Euler-bernoulli > equation. > http://en.wikipedia.org/wiki/Euler%E2%80%93Bernoulli_beam_theory > I searched a lot about solving this, but didn't succeed. Does anyone > know how to solve this equation. Whether this equation is solved in > parts by taking second order derivative two times or directly. > Please give any link that shows wonderful working of sagemath > regarding 4th order differential equation. I tried this: > > var('k1,k2') > y=function('y',x) > w=function('w',x) > q=function('q',x) > var('x') > de=diff(y,x,x)==q ##here i put (d^2/dx^2)(w)=y , thus (d^4/dx^4)(w)= > (d^2/dx^2)(y) > res=desolve(de,dvar=y,ivar=x) > e=diff(w,x,x)-res==0 > res1=desolve(res,dvar=w,ivar=x,contrib_ode=True) ## As solution of > above will give y and again i put y= (d^2/dx^2)(w) i.e substitute back > print res1 > print res > > NotImplementedError: Maxima was unable to solve this ODE. > > Please help. > > > > > -- > Priyanka Kapoor > priyankacool10.wordpress.com > Linux User Group, Ludhiana > > -- > To post to this group, send email to > sage-support@googlegroups.com<javascript:;> > To unsubscribe from this group, send email to > sage-support+unsubscr...@googlegroups.com <javascript:;> > For more options, visit this group at > http://groups.google.com/group/sage-support > URL: http://www.sagemath.org > -- 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