Ask Your Question

yaman's profile - activity

2017-08-20 08:09:37 -0600 received badge  Stellar Question (source)
2015-02-26 17:45:59 -0600 received badge  Great Question (source)
2015-02-26 17:25:28 -0600 received badge  Famous Question (source)
2013-07-12 04:52:52 -0600 received badge  Good Question (source)
2013-02-02 16:25:28 -0600 received badge  Favorite Question (source)
2013-02-01 17:34:27 -0600 received badge  Notable Question (source)
2012-03-25 06:30:55 -0600 received badge  Popular Question (source)
2011-02-07 04:20:35 -0600 received badge  Nice Question (source)
2010-10-14 16:11:12 -0600 received badge  Student (source)
2010-10-14 16:11:11 -0600 received badge  Scholar (source)
2010-09-29 05:00:41 -0600 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 14:36:07 -0600 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?