VectorPlot[{(-3*x*z)/(x^2 + z^2)^(5/2),(adsbygoogle = window.adsbygoogle || []).push({});

1/(x^2 + z^2)^(3/2) + (-3*z^2)/(x^2 + z^2)^(5/2)}, {x, -30,

30}, {z, -300, 300}]

this is the gradient i was trying to plot and it should be E field of an electric dipole...

but for some reason, it is not giving me the right plot..

**Physics Forums - The Fusion of Science and Community**

# Plotting gradient of a potential

Know someone interested in this topic? Share a link to this question via email,
Google+,
Twitter, or
Facebook

Have something to add?

- Similar discussions for: Plotting gradient of a potential

Loading...

**Physics Forums - The Fusion of Science and Community**