Skip to content

TrigToExp

Rewrites trig functions in terms of the complex exponential.

$ wo 'TrigToExp[Cos[x]]'
1/(2*E^(I*x)) + E^(I*x)/2