On 12 bře, 16:48, Burcin Erocal <bur...@erocal.org> wrote:
> On Fri, 12 Mar 2010 15:23:43 +0100
>
> Paul Zimmermann <paul.zimmerm...@loria.fr> wrote:
> > is there a way in Sage to convert expressions involving trigonometric
> > or hyperbolic functions to exponentials, like the convert/exp
> > function of Maple?
>
> > > convert(sinh(log(t)),exp);
> >                                           1
> >                                    t/2 - ---
> >                                          2 t
>
> > > convert(cos(log(t)),exp);  
> >                      1/2 exp(ln(t) I) + 1/2 exp(-I ln(t))
>
> No, AFAIK, nothing other than explicit substitution with .subs().
>

You can use something like this

desolve(t*diff(x,t)==x
+sqrt(x^2+t^2),x)._maxima_().ev(logarc=true).sage()
t == (sqrt(x(t)^2/t^2 + 1) + x(t)/t)*c

desolve(t*diff(x,t)==x+sqrt(x^2+t^2),x)
t == c*e^(arcsinh(x(t)/t))

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
URL: http://www.sagemath.org

Reply via email to