Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

On 9.6.rc0 :

sage: sageobj(exp(i*x)._maxima_().demoivre())
cos(x) + I*sin(x)

BTW :

sage: exp(i*x).demoivre()
cos(x) + I*sin(x)

HTH,