In this video we use a combination of numpy, scipy, and sympy to solve for the magnetic field for current carrying wires of any shape or size, provided they can be parametrized. All symbolic math is done in sympy so NO paper or pencil is required. All code can be found here (see vid12):

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

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

#python #machine-learning

Biot Savart Law in Python: Any wire you want, no paper required
13.95 GEEK