Ampere’s Law Project

In this project, we investigate Ampere’s Law by considering a 2D problem
with the axis of the wire perpendicular to the plane. We calculate the magnetic potential A_z for a certain current density, and generate and plot the magnetic field.
Later, we generalize the approach to two wires with parallel currents and
antiparallel currents.
Finally, we adapt the code to plot for three wires, wire of other shapes
(\pi shape), and a 5×5 grid of 25 wires.
For the 5×5 grid of wires, we consider a case whereby each wire is
switched on one at a time, in a certain pattern. The objective is to observe
the interactions of magnetic fields.



Author: mathtuition88

Math and Education Blog

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: