SlideShare a Scribd company logo
1 of 6
Download to read offline
Magnetic Field of a long straight wire using IO lab device
Christopher Ubing
Cochise College.
Abstract: Ampere’s law states that the magnetic field of a long straight wire is dependent on the dis-
tance from the wire and the current going into the wire. We will collect the data for the magnetic field of
the wire, then use this data to determine a mathematical relation for the field vs distance. We can then
compare this data to the accepted function for the field of a wire and use it to determine the current and
/ or constant μ0
Equipment needed:
1. IO device.
2. 22 gauge wire 1-2 m.
3. Battery Holder (AA size is best).
4. 30 cm Ruler.
5. Tape. (masking or duct tape is best).
6. (Optional: Ammeter )
6. Laptop computer with IO lab analysis software and spreadsheet software.
7. (Optional) Single or Double Pole switch.
Theory:
The magnetic field in space around an electric current is proportional to the electric current which
serves as it’s source. Ampere’s law states that for any closed loop path, the sum of the length elements
times the magnetic field in the direction of the length element is equal to the permeability constant times
the current enclosed in the loop. In the language of calculus.
 B.dl = μ0 Ienc (1)
For the case of the long straight wire, we will create a circular path of radius r, around the wire, which
simplifies the integral into the circumference of a circle
 B.dl = B (2 π r)
Placing this result in equation (1) and solving for B, we get
2 magnetic field of a straight wire-Official.nb
2 π r B = μ0 Ienc
B =
μ0 Ienc
2 π r
(2)
In this experiment we want to examine the field strength vs distance away from a long copper wire. The
challenge with this experiment, is that there is always a certain amount of magnetic field due to the field
of the Earth. Since there is no way to shield our experiment from the Earth’s magnetic field, we will
have to account for it in the data that we take. So, the first part of our procedure is to discover the
magnetic field strength along the direction perpendicular to the wire without current. This quantity will
be Be, and we will check to see if it changes as we move our sensor away from the wire. In the second
part of the experiment, we will run current through the wire and take measurements of the magnetic
field. After correcting for the Earth’s field, we will compare our data with what is accepted, and use it to
determine the current running through the wire.
Hardware Setup:
The hardware for this experiment consists of the IO device, a fixed length of wire, a single or double
throw switch, a battery holder and 2 AA batteries. The setup is shown in Figure 1. Note the location of
the Magnetometer which should be placed as close to the level of the wire as it can.
magnetic field of a straight wire-Official.nb 3
Fig 1: Experiment setup with all equipment needed to run the lab. Orient the remote so that the +z axis
is facing towards the wire as shown.
Logger Pro Setup:
In this experiment, you will be taking data in a graphical format. You will need to extract this data from
the graph, and place it in a separate table in Logger Pro or a spreadsheet program. You will need a total
of 13 columns, 6 of which will be calculated. The set up is shown in the figure below.
Note that the columns z (m) 1/z(m), Bxw, Byw, Bzw and mag B are all calculated columns. The first two
transform the recorded distance into meters and 1/ meters respectively. The Biw columns are defined
so as to subtract the magnetic field of the Earth from the measured magnetic field thus giving you the
component of the field for the wire. The last column is the magnitude of the wire magnetic field. I have
also included a column for the current being measured by the ammeter. You do not need to include this
column if you are not using an ammeter in the circuit.
Procedure 1. Determine Magnetic field of the Earth at your location.
Since we are interested in the magnetic field due to the wire, it is necessary to determine the back-
ground magnetic field of your location. So, with the lab set up, we take magnetic field readings with no
current flowing in the wire. Note, we are only interested in the magnetic field along the z axis of the
device.
1. Connect dongle to computer.
2. Turn on IO lab device and software.
3. Measure the length of the wire you have between the tape.
L = ___ ___ ___
You will place the IO lab device at a distance of 1 cm from the center of the wire, as shown in figure 1.
4. In the sensor list on the right hand side of the screen, select the Magnetometer.
4 magnetic field of a straight wire-Official.nb
current flowing in the wire. Note, we are only interested in the magnetic field along the z axis of the
device.
1. Connect dongle to computer.
2. Turn on IO lab device and software.
3. Measure the length of the wire you have between the tape.
L = ___ ___ ___
You will place the IO lab device at a distance of 1 cm from the center of the wire, as shown in figure 1.
4. In the sensor list on the right hand side of the screen, select the Magnetometer.
5. Without connecting the batteries to the wire, click record, and let it run for 10 seconds.
6. Click on the Analysis button of the software and mouse over the graph. Record the μ values from
your graph. These are the average values of the field.
7. Repeat this process for distances z=3, 5, 7, 9 and 11 cm from the wire. Remember to record the
values of the field for each distance.
This will be your baseline magnetic field that you will have to subtract out from your data.
Procedure 2. Taking Data with the current on.
In this part, you will obtain the magnetic field reading of the wire+Earth field.
1. Click the reset button on the software tool bar. This will clear your graph.
2. Place the AA batteries in the holder. Using clip leads, connect the red line of the battery holder to
the switch. Connect the switch to the wire and using another clip lead connect the other end of the wire
to the battery holder. This will form a circuit shown in Fig. 3.
Fig 3: Circuit for long straight wire experiment.
3. Return remote to d=1 cm, Set data collection time to 10 sec.
4. Click record, and close the switch so that current flows. Once the recording stops, open the switch to
shut down the current.
5. Mouse over the graph to get the average value of the components for the portion of the graph after
you closed the switch.
6. Record these in your spreadsheet or Logger Pro document. Click AddRun button in the IO lab soft-
ware, and repeat this process for d=3, 5, 7, 9 and 11 cm. Note that as you move further away from the
wire, the changes in the graph for the magnetic field will become smaller, so you should keep track of
the time that you closed the switch.
Analysis of the data.
In this section, we are going to use graphs to determine the mathematical meaning of the data we have
collected. Note that all units should be SI.
magnetic field of a straight wire-Official.nb 5
In this section, we are going to use graphs to determine the mathematical meaning of the data we have
collected. Note that all units should be SI.
1. Create a plot in Logger Pro for the magnitude of the field vs the distance in meters. Using the
curve fitting features of Logger Pro find a curve fit for your data. What are the meanings of the
coefficients from your curve fit.
2. Create a plot in your Logger Pro document for the magnitude of the field vs. 1/z.
Is this plot linear? What is the meaning of the slope of the line? How does your linear plot
compare with the curve fit you obtained in 1?
3. Use your data to determine the current running in the wire.
4. (3 alt) If you have run this experiment with an ammeter in the loop, how does your calculated
current compare with the current that you read on the ammeter?
5. Use the data to determine the value of μ0. Compare with the accepted value in your textbook.
6 magnetic field of a straight wire-Official.nb
Appendix. Results from running the experiment.
Fig 1A: Data collected from the experiment.
magnetic field of a straight wire-Official.nb 7

More Related Content

Similar to Magnetic field of a straight wire official.nb

ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...
ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...
ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...ESDEMC Technology LLC
 
ECT SystemElectrical Capacitive tomography is used to find the p.docx
ECT SystemElectrical Capacitive tomography is used to find the p.docxECT SystemElectrical Capacitive tomography is used to find the p.docx
ECT SystemElectrical Capacitive tomography is used to find the p.docxjack60216
 
Sinusoidal Response of RC & RL Circuits
Sinusoidal Response of RC & RL CircuitsSinusoidal Response of RC & RL Circuits
Sinusoidal Response of RC & RL CircuitsSachin Mehta
 
GSM_BASED_VOTING_SYSTEM
GSM_BASED_VOTING_SYSTEMGSM_BASED_VOTING_SYSTEM
GSM_BASED_VOTING_SYSTEMchandan mishra
 
Em waves lab assignment converted
Em waves lab assignment  convertedEm waves lab assignment  converted
Em waves lab assignment convertedAn DN
 
IRJET- Underground Cable Fault Distance Locator
IRJET- Underground Cable Fault Distance LocatorIRJET- Underground Cable Fault Distance Locator
IRJET- Underground Cable Fault Distance LocatorIRJET Journal
 
Av335 instrumentation lab report
Av335 instrumentation lab reportAv335 instrumentation lab report
Av335 instrumentation lab reportGaurav Vaibhav
 
3D Sensor Box Using Capacitive Sensing
3D Sensor Box Using Capacitive Sensing3D Sensor Box Using Capacitive Sensing
3D Sensor Box Using Capacitive SensingWilly Okpobua
 
Be lab-1st sem cse
Be lab-1st sem cseBe lab-1st sem cse
Be lab-1st sem csepjay1120
 
Transfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational AmplifiersTransfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational AmplifiersSachin Mehta
 
Electromagnetic Levitation (control project)
Electromagnetic Levitation (control project)Electromagnetic Levitation (control project)
Electromagnetic Levitation (control project)Salim Al Oufi
 
A FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATION
A FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATIONA FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATION
A FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATIONsipij
 
1 Resistivity Equipment Qty Item Parts Number .docx
1  Resistivity Equipment Qty Item Parts Number .docx1  Resistivity Equipment Qty Item Parts Number .docx
1 Resistivity Equipment Qty Item Parts Number .docxhoney725342
 
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...inventionjournals
 
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...inventionjournals
 
Seminar Report - Capacitive Sensors
Seminar Report - Capacitive SensorsSeminar Report - Capacitive Sensors
Seminar Report - Capacitive SensorsTarun Nekkanti
 
9.3 experiment motor effect
9.3 experiment motor effect9.3 experiment motor effect
9.3 experiment motor effectpixelcowboy
 

Similar to Magnetic field of a straight wire official.nb (20)

A011120106
A011120106A011120106
A011120106
 
ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...
ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...
ESDEMC_PB2009.08 A Measurement Technique for ESD Current Spreading on A PCB u...
 
ECT SystemElectrical Capacitive tomography is used to find the p.docx
ECT SystemElectrical Capacitive tomography is used to find the p.docxECT SystemElectrical Capacitive tomography is used to find the p.docx
ECT SystemElectrical Capacitive tomography is used to find the p.docx
 
Sinusoidal Response of RC & RL Circuits
Sinusoidal Response of RC & RL CircuitsSinusoidal Response of RC & RL Circuits
Sinusoidal Response of RC & RL Circuits
 
Technotoy2
Technotoy2Technotoy2
Technotoy2
 
GSM_BASED_VOTING_SYSTEM
GSM_BASED_VOTING_SYSTEMGSM_BASED_VOTING_SYSTEM
GSM_BASED_VOTING_SYSTEM
 
Em waves lab assignment converted
Em waves lab assignment  convertedEm waves lab assignment  converted
Em waves lab assignment converted
 
IRJET- Underground Cable Fault Distance Locator
IRJET- Underground Cable Fault Distance LocatorIRJET- Underground Cable Fault Distance Locator
IRJET- Underground Cable Fault Distance Locator
 
Problem and solution i ph o 16
Problem and solution  i ph o 16Problem and solution  i ph o 16
Problem and solution i ph o 16
 
Av335 instrumentation lab report
Av335 instrumentation lab reportAv335 instrumentation lab report
Av335 instrumentation lab report
 
3D Sensor Box Using Capacitive Sensing
3D Sensor Box Using Capacitive Sensing3D Sensor Box Using Capacitive Sensing
3D Sensor Box Using Capacitive Sensing
 
Be lab-1st sem cse
Be lab-1st sem cseBe lab-1st sem cse
Be lab-1st sem cse
 
Transfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational AmplifiersTransfer Functions and Linear Active Networks Using Operational Amplifiers
Transfer Functions and Linear Active Networks Using Operational Amplifiers
 
Electromagnetic Levitation (control project)
Electromagnetic Levitation (control project)Electromagnetic Levitation (control project)
Electromagnetic Levitation (control project)
 
A FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATION
A FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATIONA FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATION
A FLUXGATE SENSOR APPLICATION: COIN IDENTIFICATION
 
1 Resistivity Equipment Qty Item Parts Number .docx
1  Resistivity Equipment Qty Item Parts Number .docx1  Resistivity Equipment Qty Item Parts Number .docx
1 Resistivity Equipment Qty Item Parts Number .docx
 
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
 
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
Failure Detection in Energized High Voltage Substation Grounding Grids - A Ca...
 
Seminar Report - Capacitive Sensors
Seminar Report - Capacitive SensorsSeminar Report - Capacitive Sensors
Seminar Report - Capacitive Sensors
 
9.3 experiment motor effect
9.3 experiment motor effect9.3 experiment motor effect
9.3 experiment motor effect
 

Recently uploaded

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...Poonam Aher Patil
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfPoh-Sun Goh
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxAmanpreet Kaur
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the ClassroomPooky Knightsmith
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxDr. Sarita Anand
 

Recently uploaded (20)

ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 

Magnetic field of a straight wire official.nb

  • 1. Magnetic Field of a long straight wire using IO lab device Christopher Ubing Cochise College. Abstract: Ampere’s law states that the magnetic field of a long straight wire is dependent on the dis- tance from the wire and the current going into the wire. We will collect the data for the magnetic field of the wire, then use this data to determine a mathematical relation for the field vs distance. We can then compare this data to the accepted function for the field of a wire and use it to determine the current and / or constant μ0 Equipment needed: 1. IO device. 2. 22 gauge wire 1-2 m. 3. Battery Holder (AA size is best). 4. 30 cm Ruler. 5. Tape. (masking or duct tape is best). 6. (Optional: Ammeter ) 6. Laptop computer with IO lab analysis software and spreadsheet software. 7. (Optional) Single or Double Pole switch. Theory: The magnetic field in space around an electric current is proportional to the electric current which serves as it’s source. Ampere’s law states that for any closed loop path, the sum of the length elements times the magnetic field in the direction of the length element is equal to the permeability constant times the current enclosed in the loop. In the language of calculus.  B.dl = μ0 Ienc (1) For the case of the long straight wire, we will create a circular path of radius r, around the wire, which simplifies the integral into the circumference of a circle  B.dl = B (2 π r) Placing this result in equation (1) and solving for B, we get 2 magnetic field of a straight wire-Official.nb
  • 2. 2 π r B = μ0 Ienc B = μ0 Ienc 2 π r (2) In this experiment we want to examine the field strength vs distance away from a long copper wire. The challenge with this experiment, is that there is always a certain amount of magnetic field due to the field of the Earth. Since there is no way to shield our experiment from the Earth’s magnetic field, we will have to account for it in the data that we take. So, the first part of our procedure is to discover the magnetic field strength along the direction perpendicular to the wire without current. This quantity will be Be, and we will check to see if it changes as we move our sensor away from the wire. In the second part of the experiment, we will run current through the wire and take measurements of the magnetic field. After correcting for the Earth’s field, we will compare our data with what is accepted, and use it to determine the current running through the wire. Hardware Setup: The hardware for this experiment consists of the IO device, a fixed length of wire, a single or double throw switch, a battery holder and 2 AA batteries. The setup is shown in Figure 1. Note the location of the Magnetometer which should be placed as close to the level of the wire as it can. magnetic field of a straight wire-Official.nb 3
  • 3. Fig 1: Experiment setup with all equipment needed to run the lab. Orient the remote so that the +z axis is facing towards the wire as shown. Logger Pro Setup: In this experiment, you will be taking data in a graphical format. You will need to extract this data from the graph, and place it in a separate table in Logger Pro or a spreadsheet program. You will need a total of 13 columns, 6 of which will be calculated. The set up is shown in the figure below. Note that the columns z (m) 1/z(m), Bxw, Byw, Bzw and mag B are all calculated columns. The first two transform the recorded distance into meters and 1/ meters respectively. The Biw columns are defined so as to subtract the magnetic field of the Earth from the measured magnetic field thus giving you the component of the field for the wire. The last column is the magnitude of the wire magnetic field. I have also included a column for the current being measured by the ammeter. You do not need to include this column if you are not using an ammeter in the circuit. Procedure 1. Determine Magnetic field of the Earth at your location. Since we are interested in the magnetic field due to the wire, it is necessary to determine the back- ground magnetic field of your location. So, with the lab set up, we take magnetic field readings with no current flowing in the wire. Note, we are only interested in the magnetic field along the z axis of the device. 1. Connect dongle to computer. 2. Turn on IO lab device and software. 3. Measure the length of the wire you have between the tape. L = ___ ___ ___ You will place the IO lab device at a distance of 1 cm from the center of the wire, as shown in figure 1. 4. In the sensor list on the right hand side of the screen, select the Magnetometer. 4 magnetic field of a straight wire-Official.nb
  • 4. current flowing in the wire. Note, we are only interested in the magnetic field along the z axis of the device. 1. Connect dongle to computer. 2. Turn on IO lab device and software. 3. Measure the length of the wire you have between the tape. L = ___ ___ ___ You will place the IO lab device at a distance of 1 cm from the center of the wire, as shown in figure 1. 4. In the sensor list on the right hand side of the screen, select the Magnetometer. 5. Without connecting the batteries to the wire, click record, and let it run for 10 seconds. 6. Click on the Analysis button of the software and mouse over the graph. Record the μ values from your graph. These are the average values of the field. 7. Repeat this process for distances z=3, 5, 7, 9 and 11 cm from the wire. Remember to record the values of the field for each distance. This will be your baseline magnetic field that you will have to subtract out from your data. Procedure 2. Taking Data with the current on. In this part, you will obtain the magnetic field reading of the wire+Earth field. 1. Click the reset button on the software tool bar. This will clear your graph. 2. Place the AA batteries in the holder. Using clip leads, connect the red line of the battery holder to the switch. Connect the switch to the wire and using another clip lead connect the other end of the wire to the battery holder. This will form a circuit shown in Fig. 3. Fig 3: Circuit for long straight wire experiment. 3. Return remote to d=1 cm, Set data collection time to 10 sec. 4. Click record, and close the switch so that current flows. Once the recording stops, open the switch to shut down the current. 5. Mouse over the graph to get the average value of the components for the portion of the graph after you closed the switch. 6. Record these in your spreadsheet or Logger Pro document. Click AddRun button in the IO lab soft- ware, and repeat this process for d=3, 5, 7, 9 and 11 cm. Note that as you move further away from the wire, the changes in the graph for the magnetic field will become smaller, so you should keep track of the time that you closed the switch. Analysis of the data. In this section, we are going to use graphs to determine the mathematical meaning of the data we have collected. Note that all units should be SI. magnetic field of a straight wire-Official.nb 5
  • 5. In this section, we are going to use graphs to determine the mathematical meaning of the data we have collected. Note that all units should be SI. 1. Create a plot in Logger Pro for the magnitude of the field vs the distance in meters. Using the curve fitting features of Logger Pro find a curve fit for your data. What are the meanings of the coefficients from your curve fit. 2. Create a plot in your Logger Pro document for the magnitude of the field vs. 1/z. Is this plot linear? What is the meaning of the slope of the line? How does your linear plot compare with the curve fit you obtained in 1? 3. Use your data to determine the current running in the wire. 4. (3 alt) If you have run this experiment with an ammeter in the loop, how does your calculated current compare with the current that you read on the ammeter? 5. Use the data to determine the value of μ0. Compare with the accepted value in your textbook. 6 magnetic field of a straight wire-Official.nb
  • 6. Appendix. Results from running the experiment. Fig 1A: Data collected from the experiment. magnetic field of a straight wire-Official.nb 7