Mathematica Vector Divergence in Mathematica

AI Thread Summary
The discussion focuses on creating an interactive box in Mathematica to visualize the vector divergence of the electric field from a sphere. The original poster expresses difficulty in starting due to their inexperience with Mathematica and finds existing resources insufficient. A contributor suggests using StreamPlot and VectorPlot for 2D vector fields and mentions the availability of VectorPlot3D for 3D visualizations. An example of a 2D vector field is shared to assist the original poster. Overall, the conversation highlights the challenges faced by beginners in Mathematica and the need for practical examples.
mateomy
Messages
305
Reaction score
0
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.
 
Physics news on Phys.org
mateomy said:
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.

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.
 

Attachments

Thank you, very helpful.
 

Similar threads

Replies
5
Views
3K
Replies
3
Views
2K
Replies
1
Views
2K
Replies
12
Views
2K
Replies
1
Views
2K
Back
Top