Re: [sage-devel] Transforming exponentials to hyperbolic functions.

2011-01-23 Thread Francois Maltey
Dox a écrit : Hi guys! I have an easy question... got an expression with exponentials, say exp(x)+exp(-x), How can I get the result in terms of hyperbolic functions 1/ First you can use the expr.subs method : y=exp(x)+exp(-x) y.subs(exp(x)==sinh(x)+cosh(x)).subs(exp(-x)=cosh(x)-sinh(x)) [You

[sage-devel] Transforming exponentials to hyperbolic functions.

2011-01-23 Thread Dox
Hi guys! I have an easy question... got an expression with exponentials, say exp(x)+exp(-x), How can I get the result in terms of hyperbolic functions? -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@g