Ask Your Question

yaman's profile - activity

2017-08-20 15:09:37 +0200 received badge  Stellar Question (source)
2015-02-27 00:45:59 +0200 received badge  Great Question (source)
2015-02-27 00:25:28 +0200 received badge  Famous Question (source)
2013-07-12 11:52:52 +0200 received badge  Good Question (source)
2013-02-02 23:25:28 +0200 received badge  Favorite Question (source)
2013-02-02 00:34:27 +0200 received badge  Notable Question (source)
2012-03-25 13:30:55 +0200 received badge  Popular Question (source)
2011-02-07 11:20:35 +0200 received badge  Nice Question (source)
2010-10-14 23:11:12 +0200 received badge  Student (source)
2010-10-14 23:11:11 +0200 received badge  Scholar (source)
2010-09-29 12:00:41 +0200 marked best answer complex exponential/trigonometric

This works for me in Sage 4.5.3:

sage: x = var('x')
sage: t1 = cos(x)
sage: t2 = e^(I * x) / 2 / I - e^(-I * x) / 2 / I
sage: sageobj(t1._maxima_().exponentialize())
1/2*e^(-I*x) + 1/2*e^(I*x)
sage: sageobj(t2._maxima_().demoivre())
sin(x)

Perhaps there's a simpler way? I don't think we've wrapped Maxima's demoivre and exponentialize in Sage. They're documented here.

2010-09-25 21:36:07 +0200 asked a question complex exponential/trigonometric

Is there any command equivalent to the Mathematica's "TrigToExp" and "ExpToTrig"? Where should I look for general support on complex exponential/trigonometric functions?