<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://www.physicsbook.gatech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David2212</id>
	<title>Physics Book - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://www.physicsbook.gatech.edu/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=David2212"/>
	<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/Special:Contributions/David2212"/>
	<updated>2026-04-10T20:46:40Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.7</generator>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Conductors&amp;diff=47111</id>
		<title>Conductors</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Conductors&amp;diff=47111"/>
		<updated>2025-04-13T18:34:22Z</updated>

		<summary type="html">&lt;p&gt;David2212: claim&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Claimed by &#039;&#039;&#039;David Nam Spring 2025&#039;&#039;&#039;, in progress&lt;br /&gt;
&lt;br /&gt;
Conductor are materials that allow electric current to travel with little resistance throughout. This is related to the structure of the atoms of the conductor. In this section, we will look at what a conductor is, why it is this way, and the applications.&lt;br /&gt;
&lt;br /&gt;
==The Main Idea==&lt;br /&gt;
&lt;br /&gt;
Conductors are defined as a material that allows for charged particles to move easily throughout. Charges placed on the surface of a conductor will not simply stay in one spot or only spread over the surface, but will immediately spread evenly throughout the conductor- given there are no interfering forces. If the conductor is in an electric field, for example, it will cause the (negative) charges to move in the opposite direction of the field.&lt;br /&gt;
&lt;br /&gt;
Electric current flows by the net movement of electric charge. This can be by electrons, ions, or other charged particles. &lt;br /&gt;
&lt;br /&gt;
Conductors allow for easy movement of charged particles because of the structure of the atoms. The outermost electrons in atoms that make up conductors are only loosely bound and allow for more interaction with other particles. These electrons that are free to move about the conductor are called the &amp;quot;sea of electrons&amp;quot;. The sea of electrons is therefore able to move in response to other charges that are put on the conductor or in response to an electric field that the conductor is within. A conductor in an electric field will have an almost instantaneous rearranging of electrons so that there is a net zero electric field within the conductor. The external electric field induces an equal and opposite electric field within the conductor, so the two fields cancel out for a net zero electric field. &lt;br /&gt;
&lt;br /&gt;
[[File:Cross section and length image.gif|right|180 px]] There are some factors that can change the conductance of a conductor. Shape and size, for example, affect the conductance of an object. A thicker(larger cross sectional area A as shown in the diagram) piece will be a better conductor than a thinner piece of the same material and other dimensions. This is the same concept that a thicker piece of wire allows for greater current flow. The larger cross sectional area allows for more flow of charge carriers. A shorter conductor will also conduct better since it has less resistance than a longer piece. Conductance itself can also change conductivity. In actively conducting electric current, the conductor heats up. This is secretly the third factor affecting conductance: temperature. Changes in temperature can cause the same object to have a different conductance under otherwise identical conditions. The most well known example of this is glass. Glass is more of an insulator at typical to cold temperatures, but becomes a good conductor at higher temperatures. Generally, metals are better conductors at cooler temperatures. This is because an increase in temperature is an increase in energy, specifically for electrons. &lt;br /&gt;
&lt;br /&gt;
[[File:Conductor chart.gif|600 px]]&lt;br /&gt;
&lt;br /&gt;
===A Mathematical Model===&lt;br /&gt;
&lt;br /&gt;
Ohm&#039;s Law of J = σE can be used to model the relationship of conductivity to electric current density where J is electric current density, σ is conductivity of the material, and E is electric field. This is a generalized form of the well known V = IR. &lt;br /&gt;
&lt;br /&gt;
σ is larger for better conductors like metals and saltwater. For &amp;quot;perfect&amp;quot; conductors, σ approaches infinity. In this case, E would be zero since the current density J cannot be infinity.&lt;br /&gt;
&lt;br /&gt;
Materials are generally divided into three categories based on σ:&lt;br /&gt;
*Lossless Materials: σ = 0&lt;br /&gt;
*Lossy Materials: σ &amp;gt; 0&lt;br /&gt;
*Conductors: σ &amp;gt;&amp;gt; 0&lt;br /&gt;
&lt;br /&gt;
Below is a breakdown of how conductivity is calculated. This could be considered a formula for conductivity, but it would be more accurate to think of it as a definition.&lt;br /&gt;
&lt;br /&gt;
[[File:Electric conductivity equation.jpg|400 px]]&lt;br /&gt;
&lt;br /&gt;
Conductivity can also be explained as the inverse of resistivity. σ = 1/ρ where ρ is resistivity.&lt;br /&gt;
&lt;br /&gt;
===A Computational Model===&lt;br /&gt;
&lt;br /&gt;
[[File:Conductor computational model.PNG|right|400 px]]&lt;br /&gt;
&lt;br /&gt;
[http://www.physics-chemistry-interactive-flash-animation.com/electricity_electromagnetism_interactive/electric_conductors_insulators.htm This simple interactive] is a great way to see which real objects are made of conducting or insulating material. Try to guess which objects will allow for flow of electricity before you test with the interactive.&lt;br /&gt;
&lt;br /&gt;
https://phet.colorado.edu/en/simulation/semiconductor&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
===Simple===&lt;br /&gt;
Material A has a resitivity of &amp;lt;math&amp;gt; 5.90 \cdot 10^{-8} Ω \cdot m &amp;lt;/math&amp;gt; and Material B has a conductivity of &amp;lt;math&amp;gt; 1.00 \cdot 10^7 S/m &amp;lt;/math&amp;gt;. They are the same size and temperature. Which is a better conductor?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:800px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:bold;line-height:1.6;&amp;quot;&amp;gt;Solution&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can change Material A&#039;s resitivity to conductivity with the formula σ = 1/ρ. σ = &amp;lt;math&amp;gt;\frac{1}{(5.90 \cdot 10^{-8} Ω \cdot m)} = 1.69 \cdot 10^7 S/m&amp;lt;/math&amp;gt;. Since Material A has a greater conductivity, it is a better conductor.&lt;br /&gt;
&lt;br /&gt;
These numbers are the real conductivities of Zinc(Material A) and Iron(Material B).&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Middling===&lt;br /&gt;
A negatively charged iron block is placed in a region where there is an electric field downward (in the -y direction). What will be the charge distribution of the iron block in this field? (Problem 47 from Matter and Interactions, page 583)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:800px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:bold;line-height:1.6;&amp;quot;&amp;gt;Solution&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[File:Conductor question diagram.jpg|300 px]]&lt;br /&gt;
&lt;br /&gt;
Remember that in the direction of an electric field is traditionally the direction of positive charge movement. Since the iron block is a conductor, it has electrons that are free to move and will travel opposite the direction of the electric field. This will leave an excess of positive charge at the bottom of the block and an excess of negative charge at the top of the block, as shown in the diagram.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Difficult===&lt;br /&gt;
This should be completed by a student&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;toccolours mw-collapsible mw-collapsed&amp;quot; style=&amp;quot;width:800px; overflow:auto;&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;div style=&amp;quot;font-weight:bold;line-height:1.6;&amp;quot;&amp;gt;Solution&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;div class=&amp;quot;mw-collapsible-content&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
solution&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Connectedness==&lt;br /&gt;
#How is this topic connected to something that you are interested in?&lt;br /&gt;
#How is it connected to your major?&lt;br /&gt;
#Is there an interesting industrial application?&lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
&lt;br /&gt;
Modern research on electricity and conductors starts in the 1700s. Many different scientists contributed to the research that led to the understanding and use of conductors. Stephan Gray was one of the first of these, first studying the idea of electricity and then conductors. In Gray&#039;s time, the general consensus was that &amp;quot;electric virtue&amp;quot; was a quality that some materials could attain and others could not. Some materials, like glass, could acquire electric virtue by friction, while others, like metal, could be given electric virtue by contact with a charged object. Gray tested this theory with many different types of material, even with a child(who did work as a conductor). &lt;br /&gt;
&lt;br /&gt;
Dufay began research on the same topics of charge transfer and conductance just after Gray. He lengthened the list of objects that could be given electric virtue by friction. Dufay also named the growing categories. &amp;quot;Electrical bodies&amp;quot; were what we call insulators and &amp;quot;non-electric bodies&amp;quot; were what we know as conductors. While this seems backwards from the way we think about insulators and conductors, it comes from the idea that electric virtue was intrinsic to insulators because charge could be induced on these simply by friction, while conductors can only come to have a charge by contact with a charged insulator. &lt;br /&gt;
&lt;br /&gt;
Only when Benjamin Franklin came around some later did the ideology and vocabulary make a big switch. Franklin suggested that electricity is not created by electrical bodies through friction, but that it is a fluid shared by all bodies and can pass between them. Franklin also caused the shift in language from non-electric bodies to conductors and electric bodies to non-conductors.&lt;br /&gt;
&lt;br /&gt;
There is some evidence that ancient Egyptians also used electricity.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
===Further reading===&lt;br /&gt;
&lt;br /&gt;
To learn more about conductors:&lt;br /&gt;
*[[Polarization of a conductor]]&lt;br /&gt;
*[[Charged Conductor and Charged Insulator]]&lt;br /&gt;
*[[Field of a Charged Ball]]&lt;br /&gt;
&lt;br /&gt;
===External links===&lt;br /&gt;
&lt;br /&gt;
*https://www.youtube.com/watch?v=BY8ZPobU8B0&lt;br /&gt;
*https://www.khanacademy.org/science/ap-physics-1/ap-electric-charge-electric-force-and-voltage/conservation-of-charge-ap/v/conductors-and-insulators&lt;br /&gt;
*https://www.youtube.com/watch?v=PafSqL1riS4&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&lt;br /&gt;
*https://en.wikipedia.org/wiki/Electrical_conductor&lt;br /&gt;
&lt;br /&gt;
*https://www.thoughtco.com/examples-of-electrical-conductors-and-insulators-608315&lt;br /&gt;
&lt;br /&gt;
*https://www.rpi.edu/dept/phys/ScIT/InformationProcessing/semicond/sc_glossary/scglossary.htm&lt;br /&gt;
&lt;br /&gt;
*http://maxwells-equations.com/materials/conductivity.php&lt;br /&gt;
&lt;br /&gt;
*https://en.wikipedia.org/wiki/Ohm%27s_law&lt;br /&gt;
&lt;br /&gt;
*https://www.youtube.com/watch?v=BY8ZPobU8B0&lt;br /&gt;
&lt;br /&gt;
*https://www.physicsclassroom.com/class/estatics/Lesson-1/Conductors-and-Insulators&lt;br /&gt;
&lt;br /&gt;
*http://histoires-de-sciences.over-blog.fr/2018/04/history-of-electricity.the-discovery-of-conductors-and-insulators-by-gray-dufay-and-franklin.html&lt;br /&gt;
&lt;br /&gt;
*Benjamin, Park. A History of Electricity (The Intellectual Rise of Electricity) from Antiquity to the Days of Benjamin Franklin. J. Wiley &amp;amp; Sons, 1898. Google Books, https://books.google.com/books?hl=en&amp;amp;lr=&amp;amp;id=K2dDAAAAIAAJ&amp;amp;oi=fnd&amp;amp;pg=PR1&amp;amp;dq=ancient egypt electricity&amp;amp;ots=edMffcocC0&amp;amp;sig=zFX9kUz2FKoPcPTCf8YVId2AjhQ#v=onepage&amp;amp;q&amp;amp;f=false.&lt;br /&gt;
&lt;br /&gt;
*https://www.thoughtco.com/table-of-electrical-resistivity-conductivity-608499&lt;br /&gt;
&lt;br /&gt;
[[Category:Which Category did you place this in?]]&lt;/div&gt;</summary>
		<author><name>David2212</name></author>
	</entry>
	<entry>
		<id>http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Straight_Wire&amp;diff=47109</id>
		<title>Magnetic Field of a Long Straight Wire</title>
		<link rel="alternate" type="text/html" href="http://www.physicsbook.gatech.edu/index.php?title=Magnetic_Field_of_a_Long_Straight_Wire&amp;diff=47109"/>
		<updated>2025-04-13T18:21:57Z</updated>

		<summary type="html">&lt;p&gt;David2212: /* GlowScript Code Example: Wire Interaction */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Edited by Tyrone Xu (Spring 2025) &lt;br /&gt;
&lt;br /&gt;
==History==&lt;br /&gt;
The magnetic field of a wire was first discovered during an experiment by &#039;&#039;&#039;Hans Christian Oersted&#039;&#039;&#039; (1777-1851) of Denmark in 1820. This experiment consisted of running a current through a wire and placing a compass underneath it to see if there was any effect. The effect he found changed the world forever: he had discovered the important relationship between electricity and magnetism. Before this, the world had taken note of the similarities between electricity and magnetism but nobody had truly &amp;quot;proved&amp;quot; this relationship up until this point. Oersted then went on to write his groundbreaking scientific paper &amp;quot;Experiments on the effect of a current of electricity on the magnetic needle,&amp;quot; which shocked and awed the rest of the scientific world. This experiment laid the foundation for what we now study in electromagnetism courses, such as Physics II. While this finding falls directly into the category of &amp;quot;Magnetic Field of a Long Straight Wire,&amp;quot; it also may very well be the most important discovery by any physicist in history (this is up for debate but this is just my opinion on the topic; nonetheless, it is extremely crucial). &lt;br /&gt;
&lt;br /&gt;
==Summary==&lt;br /&gt;
A long straight wire, that is carrying some current I, will generate it&#039;s own magnetic field. The shape of the magnetic field will be concentric  circles centered around the wire. The magnetic field lines are identical and the spacing of these lines increases as the distance increased. The direction of the magnetic field lines can be observed by placing small compass needles on a circle close to the wire. If there is no current, then the needles will align with the Earth&#039;s magnetic field and if there is a current, then the needles will point tangent to the circle. If the wire is vertical and the current is facing upwards, then on the left side of the wire, the magnetic field will come out towards you. On the right side of the wire, the magnetic field would go in towards the other direction. If the current was going downwards, then the magnetic field would reverse directions but would still be in concentric circles around the wire. The second form of the right hand rule in terms of the wire would be used so that the thumb is going in the direction of the current, and the fingers will go in the direction of the magnetic field. The closer you get to the wire, the stronger the magnetic field. The further you get from the wire, the weaker the magnetic field. As the magnetic field gets spread out, it is distributed over a wider circumference. The mathematical interpretation of the magnetic field is detailed below. &lt;br /&gt;
&lt;br /&gt;
==Models==&lt;br /&gt;
&lt;br /&gt;
===Mathematical Model===&lt;br /&gt;
Imagine centering a wire of length &amp;lt;math&amp;gt;L&amp;lt;/math&amp;gt; on the y-axis, and having a current &amp;lt;math&amp;gt;I&amp;lt;/math&amp;gt; run through the wire in the +y direction. We are interested in finding the magnetic field at some point along the z axis, say &amp;lt;math&amp;gt; (0,0,z) &amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
From here, we use the Biot-Savart Law:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; d\mathbf{B} = \frac{\mu_{0}}{4\pi} \frac{I d\mathbf{L} \times \mathbf{\hat r}}{r^2}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case, &amp;lt;math&amp;gt;\mathbf{\hat r}&amp;lt;/math&amp;gt; is simply a unit vector in the direction of a point along the wire &amp;lt;math&amp;gt;(0,y,0)&amp;lt;/math&amp;gt; to a point along the z-axis &amp;lt;math&amp;gt;(0,0,z)&amp;lt;/math&amp;gt;. This can be represented by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\mathbf{\hat r} = \frac{\mathbf{r}}{|\mathbf{r}|} = \frac{(0,0,z) - (0,y,0)}{\left|(0,0,z) - (0,y,0) \right|} = \frac{(0,-y,z)}{\left|(0,-y,z)\right|} = \frac{(0,-y,z)}{\sqrt{y^2 + z^2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In our case, &amp;lt;math&amp;gt;d\mathbf{L}&amp;lt;/math&amp;gt; is simply a vector pointing along a length of the wire. Since our wire is solely along the y-axis, this can be reduced as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;d\mathbf{L} = d \Bigr[(0,y,0)\Bigr] = (0,dy,0)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we can compute the absolute value of the cross product between &amp;lt;math&amp;gt;\mathbf{\hat r}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;d\mathbf{L}&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;r = \sqrt{y^2 + z^2}&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;|d\mathbf{L} \times \mathbf{\hat r}| = \left|\begin{vmatrix} \mathbf{i} &amp;amp; \mathbf{j} &amp;amp; \mathbf{k} \\ 0 &amp;amp; -\frac{y}{r} &amp;amp; \frac{z}{r} \\ 0 &amp;amp; dy &amp;amp; 0 \end{vmatrix}\right| = \Biggr| \ \mathbf{i} \biggr[0 \times \left(- \frac{y}{r}\right) - \frac{z}{r} dy \biggr] - \mathbf{j} \biggr[0 - 0 \times \frac{z}{r} \biggr] + \mathbf{k} \biggr[0 \times dy - 0 \times \left(-\frac{y}{r}\right) \biggr] \ \Biggr| = \Biggr| \ \mathbf{i}\biggr[-\frac{z}{r}dy \biggr] - \mathbf{j}\biggr[0 \biggr] + \mathbf{k}\biggr[0 \biggr] \ \Biggr| = \Biggr| \ \left(-\frac{z}{r}dy,0,0\right) \ \Biggr| = \left(\frac{z}{r}dy, 0, 0\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;d\mathbf{B} = \frac{\mu_{0}}{4\pi} \frac{I \left(\frac{z}{r}dy, 0, 0\right)}{r^2} = \frac{\mu_{0}}{4\pi} \frac{Iz}{r^3}dy = \frac{\mu_{0}}{4\pi} \frac{Iz}{(y^2 + z^2)^{3/2}}dy&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To find the total magnetic field at a point along the z-axis due to the wire, we integrate from one end of the wire to the other end of the wire, or in this case:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;-\frac{L_0}{2}&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;\frac{L_{0}}{2}&amp;lt;/math&amp;gt;, since the wire is centered at the origin and along the y-axis.&lt;br /&gt;
&lt;br /&gt;
The integral then is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\int d\mathbf{B} = \int_{-L_0/2}^{L_0/2} \frac{\mu_{0}}{4\pi} \frac{Iz}{(y^2 + z^2)^{3/2}}dy = \frac{\mu_0}{4\pi} \frac{IL}{z\sqrt{z^2 + (L/2)^2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, the total magnetic field &amp;lt;math&amp;gt;B&amp;lt;/math&amp;gt; due to a wire of length &amp;lt;math&amp;gt; L &amp;lt;/math&amp;gt; with current &amp;lt;math&amp;gt; I &amp;lt;/math&amp;gt; at a distance &amp;lt;math&amp;gt; z &amp;lt;/math&amp;gt; away from the wire is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;B = \frac{\mu_0}{4\pi} \frac{IL}{z\sqrt{z^2 + (L/2)^2}}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Approximation====&lt;br /&gt;
&lt;br /&gt;
If it is known that &amp;lt;math&amp;gt;L &amp;gt;&amp;gt; z&amp;lt;/math&amp;gt;, then the denominator of the above formula can be approximated by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; \sqrt{z^2+(L/2)^2} \approx \frac{L}{2} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, if you have a really long wire, and you are trying to find the magnetic field of a point relatively close to the rod, you can use the approximation:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; B = \frac{\mu_0}{2\pi} \frac{I}{z} &amp;lt;/math&amp;gt;  [1]&lt;br /&gt;
&lt;br /&gt;
In most situations, at least in the scope of this course, it is stated in the question whether or not you can use the approximation. This can come in a few different forms: &amp;quot;assume z&amp;lt;&amp;lt;L,&amp;quot; &amp;quot;assume the length of the wire is much longer than than the distance from the wire to the observation location,&amp;quot; etc. However, if it is not explicitly stated, a good rule of thumb is that if the length of the wire is 100 times+ the &amp;lt;math&amp;gt;z&amp;lt;/math&amp;gt;, we can use the approximation formula. Otherwise, it is smart to just play it safe and use the full formula.&lt;br /&gt;
&lt;br /&gt;
==GlowScript Code Example: Wire Interaction==&lt;br /&gt;
&lt;br /&gt;
    mu0 = 4 * pi * 1e-7&lt;br /&gt;
    wire1 = cylinder(pos=vec(0,0,-5), axis=vec(0,0,10), radius=0.05, color=color.red)&lt;br /&gt;
    I1 = 5 &lt;br /&gt;
    radii = [0.5, 1.0, 1.5]&lt;br /&gt;
    for r in radii:&lt;br /&gt;
        for theta in arange(0, 2*pi, pi/12):&lt;br /&gt;
            x = r*cos(theta)&lt;br /&gt;
            y = r*sin(theta)&lt;br /&gt;
            B_dir = cross(vec(x, y, 0), vec(0, 0, 1))&lt;br /&gt;
            B_dir = B_dir.norm()&lt;br /&gt;
            arrow(pos=vec(x, y, 0), axis=0.2*B_dir, color=color.blue)&lt;br /&gt;
    label(pos=vec(0,2,0), text=&amp;quot;Magnetic Field around Wire 1&amp;quot;, box=False, height=10, color=color.black)&lt;br /&gt;
    r_point = vec(0, 1, 0)&lt;br /&gt;
    B_mag = (mu0 / (2*pi)) * (I1 / mag(r_point))&lt;br /&gt;
    B_vec = cross(r_point, vec(0,0,1)).norm() * B_mag&lt;br /&gt;
    arrow(pos=r_point, axis=0.2*B_vec.norm(), color=color.green)&lt;br /&gt;
    label(pos=r_point + vec(0.2,0.2,0), text=&amp;quot;B at this point&amp;quot;, box=False, height=10, color=color.green)&lt;br /&gt;
    wire2 = cylinder(pos=vec(1,0,-5), axis=vec(0,0,10), radius=0.05, color=color.orange)&lt;br /&gt;
    I2 = 5  &lt;br /&gt;
    r = mag(wire2.pos - wire1.pos)&lt;br /&gt;
    F_per_L = (mu0 / (2*pi)) * I1 * I2 / r&lt;br /&gt;
    direction = vec(1,0,0) if I1*I2 &amp;lt; 0 else vec(-1,0,0)  &lt;br /&gt;
    arrow(pos=wire2.pos + vec(0,0,5), axis=0.2*direction, color=color.magenta)&lt;br /&gt;
    label(pos=wire2.pos + vec(0.2,0,5), text=&amp;quot;Force on Wire 2&amp;quot;, box=False, height=10, color=color.magenta)&lt;br /&gt;
&lt;br /&gt;
==Magnetic Field Near a Midpoint of the Wire==&lt;br /&gt;
===Computational Model===&lt;br /&gt;
This can be found in the mathematical model section where the infinitesimal piece is integrated. &lt;br /&gt;
This can also be done in Glowscript as shown below:&lt;br /&gt;
&lt;br /&gt;
:d = display(height=400, width=1000)&lt;br /&gt;
:d.background = color.white&lt;br /&gt;
:d.forward = vector(-0.2, -0.2, -1)&lt;br /&gt;
&lt;br /&gt;
:L = 1&lt;br /&gt;
:d.range = 0.2 * L&lt;br /&gt;
:d.center = vector(0.15 * L, 0, 0)&lt;br /&gt;
&lt;br /&gt;
:I = 5&lt;br /&gt;
:kmag = 1e-7&lt;br /&gt;
:N = 20&lt;br /&gt;
:dx = L / N&lt;br /&gt;
:dl = vector(dx, 0, 0)&lt;br /&gt;
&lt;br /&gt;
:wire = []&lt;br /&gt;
:for x in arange(-L/2, L/2, dx):&lt;br /&gt;
    c = cylinder(pos=vector(x, 0, 0), axis=dl * 0.9, radius=0.005, color=color.orange)&lt;br /&gt;
    wire.append(c)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
:arr = []&lt;br /&gt;
:da = L/8&lt;br /&gt;
:for x in arange(-L/2+2*da, L/2-da, da):&lt;br /&gt;
:::for theta in arange(0, 2*pi, pi/4):&lt;br /&gt;
:::b = arrow(pos=vector(x,-r1*sin(theta), r1*cos(theta)), color=color.cyan,&lt;br /&gt;
::::::shaftwidth = 0.008, axis=vector(0,0,0))&lt;br /&gt;
:::arr.append(b)&lt;br /&gt;
:for x in arange(-L/2+2*da, L/2-da, da):&lt;br /&gt;
:::for theta in arange(0, 2*pi, pi/4):&lt;br /&gt;
::::::b = arrow(pos=vector(x,-r2*sin(theta), r2*cos(theta)), color=color.cyan,&lt;br /&gt;
:::::::::shaftwidth = 0.004, axis=vector(0,0,0))&lt;br /&gt;
::::::arr.append(b)&lt;br /&gt;
:ra = arrow(pos=vector(0,0,0), axis=vector(0,0,0), color=color.red, shaftwidth=0.005)&lt;br /&gt;
:dla = arrow(pos=vector(0,0,0), axis=vector(0,0,0), color=color.magenta, shaftwidth=0.005)&lt;br /&gt;
:dl_label = label(pos=dla.pos, text=&amp;quot;dl&amp;quot;, yoffset=8, xoffset=3, color=dla.color, opacity=0, box=0, line=0, height=24)&lt;br /&gt;
:r_label = label(pos = ra.pos + ra.axis/2, color=ra.color, text=&amp;quot;r&amp;quot;, yoffset=-7, xoffset=5, opacity=0, box=0, line=0, height=24)&lt;br /&gt;
&lt;br /&gt;
:count = 0&lt;br /&gt;
:rateval = 200&lt;br /&gt;
:for a in arr:&lt;br /&gt;
:::for s in wire:&lt;br /&gt;
::::::rate(rateval)&lt;br /&gt;
::::::r = a.pos - (s.pos+dl/2)&lt;br /&gt;
::::::ra.pos = (s.pos+dl/2)&lt;br /&gt;
::::::ra.axis = r&lt;br /&gt;
::::::r_label.pos = ra.pos + ra.axis/2&lt;br /&gt;
::::::dla.pos = s.pos+vector(0,0.011,0)&lt;br /&gt;
::::::dla.axis = dl&lt;br /&gt;
::::::dl_label.pos = dla.pos&lt;br /&gt;
::::::a.axis = a.axis +Bscale*kmag*I*cross(dl, norm(r))/mag(r)**2&lt;br /&gt;
::::::if count &amp;lt; 20:&lt;br /&gt;
:::::::::d.waitfor(&#039;click&#039;)&lt;br /&gt;
::::::elif count &amp;lt; 2*N:&lt;br /&gt;
:::::::::rateval = 2&lt;br /&gt;
::::::elif count &amp;lt; 8*N:&lt;br /&gt;
:::::::::rateval = 5&lt;br /&gt;
::::::elif count &amp;lt; 40*N:&lt;br /&gt;
:::::::::rateval = 50&lt;br /&gt;
::::::else:&lt;br /&gt;
:::::::::rateval = 100&lt;br /&gt;
::::::count = count+1&lt;br /&gt;
&lt;br /&gt;
:ra.visible = False&lt;br /&gt;
:dla.visible = False&lt;br /&gt;
:r_label.visible = False&lt;br /&gt;
:dl_label.visible = False&lt;br /&gt;
&lt;br /&gt;
====Application with a Compass====&lt;br /&gt;
&lt;br /&gt;
If you run a current through a wire and place a compass near it, the needle of the compass deflects due to the magnetic field from this wire. With no current in the wire, the compass will face North. When approximately .314A is run through a wire, the compass deflects by approximately 20 degrees. In fact, the amount of deflection that there is from the wire can actually help you calculate the approximate magnetic field of the wire. This is because there is a particular relationship between the needle of the compass, the magnetic field of the wire, and the magnetic field of the Earth itself that looks like this: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt; |B_w| = |B_E| \text{tan}\theta &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Earth itself has a magnetic field anywhere on the Earth (based on location it varies slightly, but it is easier to assume it is constant) of approximately &amp;lt;math&amp;gt;2e^{-5} \ \text{T}&amp;lt;/math&amp;gt; which is why the compass points notes. In the formula above, theta is the amount of degrees that, when placed directly above or underneath, the compass needle deflects from North. This is a very useful formula to have in lab or in the real world if it is unknown how much current is running through a wire.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Easy===&lt;br /&gt;
&lt;br /&gt;
The magnitude of the magnetic field &amp;lt;math&amp;gt;50 \ \text{cm}&amp;lt;/math&amp;gt; from a long, thin, straight wire is&amp;lt;math&amp;gt; 8.0 \ \text{μT}&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;a) What is the approximate current through the long wire?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
::Using the approximation formula for a long, thin straight wire,&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt;B = \frac{\mu_{0}}{4\pi}\frac{2I}{r}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
::we see the current needed to supply the stated magnetic field is:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt;I = \frac{4\pi r B}{2 \mu_{0}} = \frac{4\pi \times 0.5 \times 8.0 \times 10^{-6}}{2 \times 4\pi \times 10^{-7}} = 20 \ \text{A}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;b) An ordinary compass that points north when not in the vicinity of a magnetic field is pointing at &amp;lt;math&amp;gt;\theta_{1} = 325^{&amp;amp;deg;}&amp;lt;/math&amp;gt;. A wire with a current is then placed directly above the compass and the needle now points at &amp;lt;math&amp;gt;\theta_{2} = 240^{&amp;amp;deg;}&amp;lt;/math&amp;gt;. What is the approximate magnitude of the magnetic field of this wire?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
::Using our useful lab formula:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; |B_{wire}| = |B_E| \text{tan}(\theta)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\theta&amp;lt;/math&amp;gt; will equal the difference between the initial angle and the final angle:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt;\theta = \theta_{2} - \theta_{1} = 240 - 325 = -85&amp;amp;deg; &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::Therefore:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt;|B_w| = 2e^{-5} \times \text{tan}(-85&amp;amp;deg;)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt;|B_w| = 2.29 \times 10^{-4} \ \text{T} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Medium===&lt;br /&gt;
&lt;br /&gt;
The current through a thin, straight wire that is &amp;lt;math&amp;gt;2 \ \text{m}&amp;lt;/math&amp;gt; long is &amp;lt;math&amp;gt;74 \ \text{A}&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;a) What is the magnitude of the magnetic field at a location &amp;lt;math&amp;gt;0.35 \ \text{m}&amp;lt;/math&amp;gt; away and perpendicular to the center of the wire?&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
::Using the full formula:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B = \frac{\mu_0}{4\pi} \frac{LI}{z\sqrt{z^2+(L/2)^2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B = \frac{\mu_0}{4\pi} \frac{2 \times 74}{0.35\sqrt{0.35^2+(2/2)^2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B = 39.912 \ \mu \text{T}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Difficult===&lt;br /&gt;
&lt;br /&gt;
There are two wires, separated by a distance of &amp;lt;math&amp;gt;80&amp;lt;/math&amp;gt; meters on the x-axis. The left wire has a current running through it of &amp;lt;math&amp;gt;5 \ \text{A}&amp;lt;/math&amp;gt;, while the right wire has a current running through it of &amp;lt;math&amp;gt;12 \ \text{A}&amp;lt;/math&amp;gt;. The length of the left wire is &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt; meters, while the length of the right wire is &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; meters.&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;&#039;a) Find the total magnetic field at a point on the x-axis directly in between the two wires.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
::Using the full formula, the magnetic field due to the left wire is:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_L = \frac{\mu_0}{4\pi} \frac{LI}{z\sqrt{z^2+(L/2)^2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_L = \frac{\mu_0}{4\pi} \frac{2 \times 5}{40\sqrt{40^2+(2/2)^2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_L = 6.25 \times 10^{-10} \ \text{T}&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
::The magnetic field due to the right wire then is:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_R = \frac{\mu_0}{4\pi} \frac{LI}{z\sqrt{z^2+(L/2)^2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_R = \frac{\mu_0}{4\pi} \frac{3 \times 12}{-40\sqrt{(-40)^2+(3/2)^2}} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_R = -2.25 \times 10^{-9} \ \text{T}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::The total magnetic field will be the sum of the two magnetic fields:&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_T = B_L + B_R &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_T = 6.25 \times 10^{-10} - 2.25 \times 10^{-9} &amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:::&amp;lt;math&amp;gt; B_T = -1.62 \times 10^{-9} \ \text{T}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Connectedness==&lt;br /&gt;
I am very interested in clean energy storage and production, which typically involves long wires at some point between where the energy is generated and where the electricity is used. It is important to understand all the forces involved with an electrical current, so that if something goes wrong, you can determine where the problem is and why it might be occurring so that you can fix it.&lt;br /&gt;
&lt;br /&gt;
I am an Electrical Engineering major, so all of the material within this class is vastly important, not only for the following courses required for an EE major, but also for the field once we graduate and find a job. However, this concept specifically interests me because for a while I had a very difficult time finding the direction of the magnetic field in situations such as these, so this is my way of giving back in an effort to make sure future students don&#039;t run into the same problem.&lt;br /&gt;
&lt;br /&gt;
I am an Industrial Engineering major and think that it is really interesting to see the theory behind how compasses are affected by currents within a wire and their associated magnetism. A compass is such an everyday item but I had never looked into why it works the way it does, and this specific topic gave me a lot of insight into that. Additionally, it is really intriguing to learn about the second form of the right hand rule and its applications. &lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
&lt;br /&gt;
===Further Reading===&lt;br /&gt;
*[http://hyperphysics.phy-astr.gsu.edu/hbase/magnetic/Biosav.html HyperPhysics Biot-Savart Law]&amp;lt;br&amp;gt;&lt;br /&gt;
*[https://www.youtube.com/watch?v=nfSJ62mzKyY Bozeman Science Magnetic Field of a Wire]&amp;lt;br&amp;gt;&lt;br /&gt;
*[https://phys.libretexts.org/Bookshelves/University_Physics/Book%3A_University_Physics_(OpenStax)/Map%3A_University_Physics_II_-_Thermodynamics%2C_Electricity%2C_and_Magnetism_(OpenStax)/12%3A_Sources_of_Magnetic_Fields/12.2%3A_Magnetic_Field_due_to_a_Thin_Straight_Wire]&amp;lt;br&amp;gt; &lt;br /&gt;
*[https://projects.ncsu.edu/PER/Articles/LunkBFieldArticle.pdf]&amp;lt;br&amp;gt; &lt;br /&gt;
&lt;br /&gt;
===External Links===&lt;br /&gt;
*[[Magnetic Field of a Loop]]&amp;lt;br&amp;gt;&lt;br /&gt;
*[[Magnetic Field of a Disk]]&amp;lt;br&amp;gt;&lt;br /&gt;
*[[Biot-Savart Law for Currents]]&amp;lt;br&amp;gt;&lt;br /&gt;
*[[Magnetic Field]]&amp;lt;br&amp;gt;&lt;br /&gt;
*[[Moving Point Charge]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
*Matter and Interactions Vol. II&lt;br /&gt;
&lt;br /&gt;
*OpenStax University Physics&lt;br /&gt;
&lt;br /&gt;
*Skulls in the Stars&lt;/div&gt;</summary>
		<author><name>David2212</name></author>
	</entry>
</feed>