Examples of Stoke’s Theorem and the Divergence Theorem Using Python

Image: Rhett Allain. Stoke’s and Divergence Theorems

You might not realize that they are important in physics — but you pretty much need both Stoke’s Theorem and the Divergence Theorem for vector stuff (like Maxwell’s Equations). However, they can be a little difficult to comprehend.

I’m not going to derive these two equations, instead I am just going to show you that both sides are equivalent. But…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store