Mathematica to recognize e−iθ as the eulers identity

  • Context: Mathematica 
  • Thread starter Thread starter arierreF
  • Start date Start date
  • Tags Tags
    Identity Mathematica
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
2 replies · 2K views
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.
 
Physics news on Phys.org
You can use something fancy like this:
Code:
Plot[Im@Exp[-I x], {x, -5, 5}, PlotStyle -> Thick, 
 ColorFunction -> "StarryNightColors"]
Nh4ihZW.png
 
Thanks it works!