Re: [sage-support] Re: convert trigonometric/hyperbolic functions to exponentials

2010-03-13 Thread descopau
You can use something like this dêkuji merci thank you for all the answers always annoying to guess wether you should call maxima or not. -- Guillaume -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: convert trigonometric/hyperbolic functions to exponentials

2010-03-12 Thread Guillaume
No, AFAIK, nothing other than explicit substitution with .subs(). Hello, there are a few weird results. I'd like to solve this homogenous edo : $tx'=x+\sqrt{x^2+y^2}$. using x=tu sage: t=var('t') sage: x(t) = function('x',t) sage: id(t)=t sage: u=function('u',t) sage: d=diff(u*id,t)

[sage-support] Re: convert trigonometric/hyperbolic functions to exponentials

2010-03-12 Thread ma...@mendelu.cz
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

[sage-support] Re: convert trigonometric/hyperbolic functions to exponentials

2010-03-12 Thread ma...@mendelu.cz
On 12 bře, 21:19, Guillaume desco...@yahoo.fr wrote: No, AFAIK, nothing other than explicit substitution with .subs(). Hello, there are a few weird results. I'd like to solve this homogenous edo :  $tx'=x+\sqrt{x^2+y^2}$. using x=tu sage: t=var('t') sage: x(t) = function('x',t)

[sage-support] Re: convert trigonometric/hyperbolic functions to exponentials

2010-03-12 Thread Yann
And I guess the answer to Paul's question is then: sage: (sinh(log(t)))._maxima_().exponentialize().sage() 1/2*t - 1/2/t sage: (cos(log(t)))._maxima_().exponentialize().sage() 1/2*e^(-I*log(t)) + 1/2*e^(I*log(t)) -- To post to this group, send email to sage-support@googlegroups.com To