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.
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook