Student handout: Electric field for a waffle cone of charge
Computational Physics Lab II 2022
Students integrate numerically to find the electric field due to a cone of surface charge, and then visualize the result. This integral can be done in either spherical or cylindrical coordinates, giving students a chance to reason about which coordinate system would be more convenient.
Consider a cone of surface charge that is open at the top.
Write down on paper three integrals for the three components of the electric field, \(E_x(\vec r)\), \(E_y(\vec r)\), and \(E_z(\vec r)\).
Find the first non-zero term in a power series for the electric field far from the origin.
Write three functions to compute these three components of the electric field at any point in space. Write another three functions to compute the three components of the electric field as predicted by the first nonzero term in the power series.
Visualize \(\vec E\) on the three Cartesian axes. On the same plots, visualize your lowest-order prediction for the field at large differences.
Visualize the electric field in at least two different ways. Here "different" means more than just changing the orientation or direction of a plot, it needs to be an entirely different way of visualizing the electric field.
Extra fun
See what happens if you make your cone entirely flat, so it becomes a disk. In particular, what does the electric field look like just above and below the disk? Use Gauss's Law to predict the electric field near the center of the disk, and add that value to the plot.
Visualizing fun
Try creating other visualizations for the electric field.