-
-
Notifications
You must be signed in to change notification settings - Fork 675
Closed
Description
Sage does not appear to have easily accesible analogues of Mathematica's TrigToExp
and ExpToTrig
. From AskSage:
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)
CC: @kcrisman @sagetrac-fmaltey @slel
Component: symbolics
Keywords: expression tree
Author: Emmanuel Charpentier
Branch/Commit: e913bee
Reviewer: Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/10038