First time here? Check out the FAQ!
answered 2022-04-14 10:01:34 +0100
On 9.6.rc0 :
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,