My final data builds significantly from the preliminary data sets. In that set, I derived the equations for the electric field of a sphere, cylinder and the approximation of an electric dipole. Those were:

Where the dipole was approximated as two point charges of opposite charge (i.e. two spheres of opposite charge).

I went back to mathematica and overlaid a 3-D model of a small sphere on the previously plotted vector field of the electric field of a sphere, pictured below.

The same was done for a cylinder, both cases allowed for it to be seen how the geometries affected the electric fields.

For the electric dipole, an additional approach was taken to find the electric field. The equation for the electric potential of an “ideal” dipole is given as

For the purposes of simplification in Mathematica, the equation was re-written to absorb all the constants into one term:

Now to find an expression for the electric field, use the formula:

Which Mathematica can interpret and plot accordingly as:

For a better view of how the vectors are interacting, look at this 2-D plot of the same field:

The code for the following models can be found here: Final Data

Jenny MagnesDon’t forget to label your axis. You need a better way to represent the dipole field. It is unclear what you are modeling and where the charges are located. The spherical vector fields are easily found in Mathematica. Try to come up with a better visualization for the dipole.