course_planning:184_projects:f17_project_14

rainbow.jpg

Life has gotten back to normal in Lakeview as the continued magnetic field seems to have driven away the boar tigers. There has been the added bonus that there has been a drastic reduction in car accidents due to the populace being afraid that the magnetic field will destroy their engines. However, tranquility is unsettled when the government agency P.E.R.L comes to town in order to further investigate the boar tiger phenomenon. You are a local guide, part-time engineer and a high ranking member of the McGyver fan club who has been recruited to go into the forest surrounding Lakeview to help P.E.R.L in their investigation. Once deep in the forest, your party is ambushed by boar tigers and several of the team are captured and taken away. The remaining members of the team try to follow the tracks of the Boar Tigers but this becomes impossible after a time. However, you remember hearing from a friend of yours that did research on the boar tigers that their excrement has a very high percentage of nickel in it. You indicate to the group that you think you can McGyver a metal detector together to track your kidnapped colleagues. You have access to a whole bunch of 12 gauge copper wire, an alternating current power supply that can produce a maximum current of 2 A and has a frequency of 60 Hz, and a voltmeter that will measure an alternating voltage. If the voltmeter measures a voltage bigger than 50 mV, it will sound an alarm. You want to design your metal detector so that if there is a not a metal nearby, the voltmeter will be below the threshold; however, if there is a metal nearby, then the measured voltage on the voltmeter will be above the threshold and set off the alarm.

You are able to use your successfully MacGyver'd metal detector to track what the EM-boar tigers have left behind and find your trapped team members. You estimate there is about 1 hour and 50 minutes to figure out a way to send some sort of E&M signal out for rescue before the EM-boar tigers realize that you are planning an escape. (What will that signal be??? You decide.) Due to the sensitivity that EM-boar tigers have to E&M waves, you only have one chance to send the signal before they realize what is happening and close in on the team. You will need to make sure that the attempt will work. You have a small metal ball that can be charged up 1e-6 C without discharging in air. You've found a piston that can shake the ball a total distance of 2cm, but at nearly any frequency you need. Your team decides to create a model of the signal to determine how best to orient the setup, how much charge to dump on the ball, and how quickly to shake it. Your group has already started setting up the code.

GlowScript 2.6 VPython

## Objects

charge = sphere(pos = vector(0,0,0), radius = 0.001)
charge.v = vector(0,0,0)

## Constants and model parameters

q = 1e-6
k = 9e9
mu = 4*pi*1e-7
mofpi = mu/(4*pi)

## Set up time parameters

t = 0
dt = 0.1


## Create list of arrows that encricle the charge
## Each location has two arrows: one for E and one for B

N = 20
theta = 0
dtheta = 2*pi/N
R = 0.02
ArrowList = []

while theta < 2*pi:
    
    Loc = vector(R*cos(theta), R*sin(theta), 0)
    
    ArrowList.append([arrow(pos=Loc, axis = vector(0,0,0), color=color.cyan),arrow(pos=Loc, axis = vector(0,0,0), color=color.magenta)])
    
    theta += dtheta

## Calculation loop

while t < 1000:
    
    rate(100)
    
    ## Charge should oscillate
    
    
    ## Loop through arrows to make E and B vectors
    
    for Arrow in ArrowList:
        
        r = Arrow[0].pos - charge.pos

        E = vector(0,0,0)
        B = vector(0,0,0)

        Arrow[0].axis = E
        Arrow[1].axis = B
       
    t = t + dt
  • course_planning/184_projects/f17_project_14.txt
  • Last modified: 2017/11/30 17:44
  • by dmcpadden