Thanks, I think the solution is correct. What do you expect? Something like this? k1*e^(sqrt(k^2 + 1)*x) + k2*e^(sqrt(k^2 + 1)*x)
I think that it is suffcient to find a function which simplifies your restult into this form. Robert. On 7 kvě, 20:30, Guillaume <desco...@yahoo.fr> wrote: > 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 > athttp://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