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

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…