In this video I show how to compute and make an interactive plot of the electric field for any 1 dimensional charge configuration in python. Sympy is used for all symbolic mathematics, so no pencil or paper are required.

All code from this video can be found here:

https://github.com/lukepolson/youtube…

Subscribe: https://www.youtube.com/channel/UCKaYxkHrmsQePZFpzF9b7sQ/featured

#python

Electric Field Computation in Python: No Pencil/Paper Required
16.85 GEEK