Hello,

I want to solve f''/f=k with k in R

sage:  x=var('x')
sage: f=function('f',x)
sage: k=var('k')
sage:  desolve(diff(f(x),x,2)/f(x)==k^2+1,[f,x])
k1*e^(I*sqrt(-k^2 - 1)*x) + k2*e^(-I*sqrt(-k^2 - 1)*x)

I put k^2+1 since sage would'nt solve even with assume(k>0)

-- 
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

Reply via email to