First time here? Check out the FAQ!
answered 2022-04-14 09:37:52 +0100
Does the following work for you?
sageobj(exp(i*x)._maxima_().demoivre())