Plotting gradient of a potential...

  1. VectorPlot[{(-3*x*z)/(x^2 + z^2)^(5/2),
    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..
     

    Attached Files:

    • what.JPG
      what.JPG
      File size:
      18 KB
      Views:
      9
    • q2.nb
      q2.nb
      File size:
      50.2 KB
      Views:
      2
  2. jcsd
Know someone interested in this topic? Share a link to this question via email, Google+, Twitter, or Facebook

Have something to add?

0
Draft saved Draft deleted