Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
184_notes:b_sup_comp [2020/08/23 21:42] – dmcpadden | 184_notes:b_sup_comp [2021/06/16 19:16] (current) – bartonmo | ||
---|---|---|---|
Line 13: | Line 13: | ||
While calculating the integral will give you an exact value for the magnetic field, it is possible to end up with an integral that is difficult or impossible to solve. Instead we can use the fact that the magnetic field obeys the principle of superposition to define a powerful algorithm for computing the magnetic field at any given location from any shape of current/ | While calculating the integral will give you an exact value for the magnetic field, it is possible to end up with an integral that is difficult or impossible to solve. Instead we can use the fact that the magnetic field obeys the principle of superposition to define a powerful algorithm for computing the magnetic field at any given location from any shape of current/ | ||
- | ==== The Superposition Principle ==== | + | ===== The Superposition Principle |
[[184_notes: | [[184_notes: | ||
Line 21: | Line 21: | ||
where →B1 would be the magnetic field from one piece of the wire, →B2 would be the magnetic field from a second piece of the wire, and so on. This idea of adding together the magnetic field from each chunk of the wire will form the basis of what we want the computer to calculate for us. | where →B1 would be the magnetic field from one piece of the wire, →B2 would be the magnetic field from a second piece of the wire, and so on. This idea of adding together the magnetic field from each chunk of the wire will form the basis of what we want the computer to calculate for us. | ||
- | ==== 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' | ||
Line 35: | 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/ |