Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revisionLast revisionBoth sides next revision | ||
184_notes:b_sup_comp [2018/03/06 19:12] – dmcpadden | 184_notes:b_sup_comp [2021/06/16 19:09] – [How can we use a computer for this?] bartonmo | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | / | ||
+ | |||
+ | [[184_notes: | ||
+ | |||
===== Using Superposition of Magnetic Field and the Computer ===== | ===== Using Superposition of Magnetic Field and the Computer ===== | ||
Line 19: | Line 23: | ||
==== How can we use a computer for this? ==== | ==== How can we use a computer for this? ==== | ||
- | For most real-world situations, the magnetic field integral cannot be solved analytically. That is, you could most likely write down the integral, but it cannot be computed because there' | + | For most real-world situations, the magnetic field integral cannot be solved analytically. That is, you could most likely write down the integral, but it cannot be computed because there' |
Let's think through the process for computing the magnetic field due to the current in any kind of wire: | Let's think through the process for computing the magnetic field due to the current in any kind of wire: | ||
Line 31: | Line 35: | ||
- Repeat steps 5-7 for another chunk; and continue repeating until you've done this for all chunks of the wire | - Repeat steps 5-7 for another chunk; and continue repeating until you've done this for all chunks of the wire | ||
- | These somewhat monotonous steps will give us an approximate value for the magnetic field at the point of interest. The smaller the chunks, the better the approximation. You can probably see why setting up a computer to do this makes a lot of sense. Computers are really good at doing the same calculation over and over again! | + | These somewhat monotonous steps will give us an approximate value for the magnetic field at the point of interest. |
So if we want to compute the magnetic field at a given location due to any length/ | So if we want to compute the magnetic field at a given location due to any length/ |