Plotting an electric field in Mathematica

  • Topic: Mathematica 
  • Thread starter Thread starter Dustinsfl
  • Start date Start date
  • Tags Tags
    Plot Stream Vector
Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 3K views
Dustinsfl
Messages
2,217
Reaction score
5
$$
\vec{E} = -E\cos\theta\left(1 + \frac{2a^3}{r^3}\right)\hat{e_r} + E\sin\theta\left(1 - \frac{a^3}{r^3}\right)\hat{e_{\theta}}.
$$

How can I plot this in Mathematica?
 
Physics news on Phys.org
dwsmith said:
$$
\vec{E} = -E\cos\theta\left(1 + \frac{2a^3}{r^3}\right)\hat{e_r} + E\sin\theta\left(1 - \frac{a^3}{r^3}\right)\hat{e_{\theta}}.
$$

How can I plot this in Mathematica?

Would this be the E-field for a = 1.35 and E = 1.66?View attachment 431
 
Attachments
  • hw6plot1d.jpg
    hw6plot1d.jpg
    33.9 KB · Views: 138