I am using Mathematica 7 and just starting on physics problems on Mathematica. on using the function GradientFieldPlot I’m getting this complication.
Why isn’t is plotting for the dipole function but it is working fine with the next one (Sin[x y])? And it’s not even an error. What does it mean when mathematics just keeps repeating the input without solving it?
Hi,
it would be really great if you could post code instead of images. If anyone wants to help, they have to retype everything.
Also it is much more difficult to spot mistakes, like the curley brackets you use for x-1 and x+1. If you correct that
<< VectorFieldPlots` GradientFieldPlot[1/Sqrt[(x - 1)^2 + y^2] - 1/Sqrt[(x + 1)^2 + y^2], {x, -2, 2}, {y, -2, 2}, PlotPoints -> 20]
should work.
Best wishes, Marco