Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Vector Divergence in Mathematica

  1. May 16, 2012 #1
    I'm trying to make a little manipulate/interactive box that shows the vector divergence of the E-field coming from a sphere. I have no idea how to start as I'm really new to Mathematica. Does anyone have any pointers? I can't find anything particularly helpful on the Wolfram reference or Demonstrations site. Thanks.
  2. jcsd
  3. May 20, 2012 #2
    I'm no expert at Mathematica, but I've used StreamPlot and VectorPlot to create vector fields in two dimensions. I've never tried it in 3D, although there is a VectorPlot3D command. Anyway, I've attached the example I did.

    Attached Files:

  4. May 21, 2012 #3
    Thank you, very helpful.
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Similar Threads - Vector Divergence Mathematica Date
MATLAB vector multiplication Aug 28, 2017
Matlab A Q on multiplying two vectors Mar 25, 2017
New to Matlab, help with vectors Feb 20, 2016
How to add normal vectors/quivers to sphere in matlab? Dec 20, 2015
Divergent Integral and Mathematica Jul 3, 2008