Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
184_projects:detecting_b_fields [2022/01/04 15:57] – created dmcpadden | 184_projects:detecting_b_fields [2023/10/24 16:42] (current) – dmcpadden | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== Project | + | ==== Project: Detecting magnetic fields ==== |
{{183_projects: | {{183_projects: | ||
- | An experimental magnetic field detector has been constructed outside of the town of Lakeview. Although the purpose of the detector is largely unknown | + | An experimental magnetic field detector has been constructed outside of the town of Lakeview, due to the presence |
+ | |||
+ | Your colleagues | ||
<code python> | <code python> | ||
Line 11: | Line 13: | ||
## Parameters and Initial Conditions | ## Parameters and Initial Conditions | ||
- | velocity = vector(1,0,0) | + | velocity = vector(0,-20,0) |
+ | #q = ??? Don't know this?? | ||
+ | |||
+ | ## Observation Points - Need at least 3??? | ||
## Objects | ## Objects | ||
- | charge = sphere(pos=vector(-2,0,0), radius=0.1, color=color.blue) | + | charge = sphere(pos=vector(0,2,0), radius=0.1, color=color.blue) |
xaxis = cylinder(pos=vector(-3, | xaxis = cylinder(pos=vector(-3, | ||
yaxis = cylinder(pos=vector(0, | yaxis = cylinder(pos=vector(0, | ||
Line 22: | Line 27: | ||
t = 0 | t = 0 | ||
- | dt = 0.01 | + | dt = 0.001 |
- | while t < 5: | + | while t < 2: |
rate(100) | rate(100) | ||
charge.pos = charge.pos + velocity*dt | charge.pos = charge.pos + velocity*dt | ||
- | | + | |
t = t + dt | t = t + dt | ||
| | ||
| | ||
+ | if charge.pos.y < -3: | ||
+ | |||
+ | velocity = vector(0, | ||
+ | |||
+ | |||
## Not sure what to do with these | ## Not sure what to do with these | ||
+ | |||
##p = sphere(pos=vector(-1, | ##p = sphere(pos=vector(-1, | ||
##Barrow = arrow(color=color.red) | ##Barrow = arrow(color=color.red) | ||
## | ## | ||
- | ## | + | ## |
</ | </ | ||
Line 50: | Line 60: | ||
Conceptual Questions: | Conceptual Questions: | ||
- | - What shape is the magnetic field around the moving point charge? (Hint: make multiple observation points and move them around) | + | - Why is B2 equal to zero? |
- | - How is magnetic field different than electric field? | + | - How is magnetic field different than electric field? |
- | - How would you calculate the magnetic field? (Pick an observation point and do a sample calculation) | + | |
- What is a cross product? What role does it serve in the magnetic field equation? | - What is a cross product? What role does it serve in the magnetic field equation? | ||
+ | - How does the right hand rule work for calculating the magnetic field? | ||
- What is a " | - What is a " | ||
+ | - What shape is the magnetic field around the moving point charge? (Hint: make multiple observation points and move them around) | ||
- What assumptions did you make for the problem? How would you evaluate your answer? | - What assumptions did you make for the problem? How would you evaluate your answer? | ||
+ | |||