plotting gradient of a potential...

by hangainlover
Tags: gradient, plotting, potential
hangainlover is offline
Sep3-12, 09:04 AM
P: 83
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 Thumbnails
Attached Files
File Type: nb q2.nb (50.2 KB, 0 views)
Phys.Org News Partner Science news on
Better thermal-imaging lens from waste sulfur
Hackathon team's GoogolPlex gives Siri extra powers
Bright points in Sun's atmosphere mark patterns deep in its interior

Register to reply

Related Discussions
Straight Line Graphs -Plotting, Gradient, Intercept & Finding Equation Precalculus Mathematics Homework 16
Matlab Plotting of QM double-potential-barrier Math & Science Software 2
force as gradient of potential function Classical Physics 5
Potential Function for a gradient field. Calculus & Beyond Homework 4
Points where gradient is zero (plotting it) Calculus & Beyond Homework 4