Mathematica to recognize e−iθ as the eulers identity

2 replies · 2K views · last reply
arierreF
Messages
78
Reaction score
0
I just need to know how can Mathematica recognize [itex]e^{-i\theta}[/itex] as the eulers identity. This is, [itex]e^{-i\theta} = cos \theta + sin \theta[/itex].


When i plot a function like [itex]e^{i\theta}[/itex], nothings appear in the graph.

Help is appreciated.
 
You can use something fancy like this:
Code:
Plot[Im@Exp[-I x], {x, -5, 5}, PlotStyle -> Thick, 
 ColorFunction -> "StarryNightColors"]
Mathematica plot of a sine-shaped curve over x from -5 to 5, with y ranging from -1 to 1, drawn as a thick line shaded from dark blue-grey to yellow.