It’s not a Mac-Hack (I assume that’s clear), but let me just explain the difference between a nuclear bomb and a dirty bomb.
A nuclear bomb uses a nuclear reaction to create energy. If you take some large mass element (let’s just say plutonium) and spit it into two pieces, you get some stuff. Obviously you get at least two smaller atoms. But you also get some neutrons and stuff. However, if you added up the mass of all the stuff after the split, it would be slightly less than the mass of the original plutonium. This lost mass is accounted for in energy. Here is the energy-mass relationship.
The “c” is the speed of light. This says that you get a BUNCH of energy for just a little bit of mass and this is the basis for a nuclear fission reaction. For a nuclear bomb, the split creates neutrons that can also split more atoms which produces MORE neutrons and more splits. Oh, the energy and the left over pieces tend to make stuff radioactive.
The dirty bomb also uses radioactive material. However, the main explosion is not a nuclear reaction but instead a more conventional chemical-based bomb. The bomb includes radioactive material that gets spread around from the explosion. It’s dirty. Yes, it’s bad—but it’s not a nuclear explosion. Also, these are pretty easy to make since you just need a normal bomb and some radioactive material.
Parsecs and Time and Distance
Everyone (except Jack) is correct. The parsec is a unit of distance. It has to do with parallax. Here is a simple experiment. Hold your thumb out in front of your face. Now close one eye and look at your thumb. Hopefully there is something in the background that you can line it up with. Now close that eye and open the other one. Notice that your thumb now lines up with something else in the background? That’s parallax.
Wait. You didn’t actually do the eye thumb thing. Really, you should do that.
OK, back to the parsec. The motion of your thumb with respect to the background depend on the distance from your thumb to your face as well as the distance between your two eyes. What if you increase the distance between your eyes? What if this distance is the size of the Earth’s orbit around the Sun? In that case the change in observation locations (on different sides of the Sun) can be used to measure the distance to nearby stars. If a star has an apparent angular shift of 1 second of a degree, that’s a parsec.
It would be sort of like that expanding foam you use to seal cracks around your house—except for blood.
What do fertilizer and explosives have in common? Nitrogen. It’s really interesting if you think about it. The air we breath has a BUNCH of nitrogen in it—79 percent. However, it’s not so simple to get. Once humans figured out how to get the nitrogen, they used it for fertilizer and explosives.
But yeah, you can make explosives from fertilizer—but don’t.
Yeah, this is bad stuff. Of course it’s cold, but more important is that it’s oxygen. If you want to burn stuff, you need oxygen. Liquid oxygen is WAY denser than gas oxygen. So, if you put this stuff on something you can get a lot of fire.
How do you make it look like you killed someone? Fake blood would help. MacGyver mixes up a batch using cocoa mix and some fruit punch.
Here is another recipe.
MacGyver needs some smoke or something like that so he can elude the bad guys. In this case, he is going to use the water in the pool to make a giant humidifier.
OK, this isn’t smoke. It’s water vapor—water in a gas state. You can see through water vapor, because it’s in the air right now (hopefully). However, when the water vapor condenses out of the air, it makes tiny drops of water. These tiny drops of water reflect light to give a similar appearance to smoke.
But how do you make water vapor from a pool? One way is to use a spinning rod. If you put a rod that spins very fast in the water, some of the water will interact with the spinning rod. If the rod is spinning fast enough, then this water will get “flung” into the air.
Suppose there is a charge distribution that is half a circle with uniform charge. How do you find the electric field due to this half-ring? Here is a picture.
If you wanted to find the electric field at the origin (center of the half-ring), you could do this analytically. If you want to find the electric field somewhere else, you need to do a numerical calculation.
Here is the plan for the numerical calculation.
Break the ring into N pieces (where N can be whatever number makes you happy).
Treat each of these N pieces as though they were point charges.
Calculate the electric field due to each of these pieces and add them all up.
Maybe this updated picture will be useful.
Let’s say the total charge is 5 nC and the ring radius is 0.01 meters. We can find the electric field anywhere, but how about at < 0.03 ,0.04, 0 > meters.
I’m going to break this ring into pieces and let the angle θ determine the location of the piece. That means I will need the change in angular position from one point to the next. The total circle will go from θ = π/2 to 3π/2. The change in angle will be:
I know it’s wrong, but I will just put the first piece right on the y-axis and then space out the rest. Here is what that looks like for N = 7.
But there is a problem. If I make these charge balls, I need to also calculate the electric field due to each ball. I was going to make a list (a python list) to put all these balls in, but I don’t think I need it.
Here is my updated code.
With the output of:
I think this is working, but let me go over some of the deets.
Line 13: you need to know the charge of each piece—this depends on the number of pieces.
Line 12: We need to add up the total electric field from each piece. This means that we need to start with a zero electric field.
Line 15: I named the point charges so I can reference them. But here you can see that with this method, there is only one charge—it just moves.
Line 16: calculate r from a piece to observation location.
Line 17: electric field due to a point charge.
I’m stopping here. You can do the rest as homework.
How do you know this answer is correct? Hint: put the observation location at the origin.
How many pieces do you need to get a valid answer?
Make a plot of E vs. distance along the x-axis. This graph should show E approaching zero magnitude as you get farther away.
What about electric potential with respect to infinity? Oh yeah. That’s a good one.
Display the electric field as an arrow at different locations.
Honestly, this a great physics joke. MacGyver and Jack are in a trash compactor—yes, there are some Star Wars jokes here too. In order to break the hydraulic pump, Mac wants to put a pole so that it pokes through a particular screw. Here’s the important part.
MacGyver: …if I hold the pipe perfectly normal.
Jack: Dude. Nothing about this is normal.
Jack messes up and hurts his arm. According to MacGyver: “I used a technical term that Jack didn’t understand.”
Ok, so what does “normal” mean? In short, it means perpendicular. That’s it. MacGyver needed the pipe to be perpendicular to the wall. That’s what normal means. That’s also why physicists call the force a surface pushes on an object “the normal force” —because it’s perpendicular to the surface.
Yes, we also use “normal” in geometry—but of course Jack wouldn’t get that.
What is a spectrometer?
Not a MacGyver hack, but I want to talk about spectrometers anyway.
My first idea of a spectrometer is a visible-light spectrometer. This is essentially a prism. Light goes into the prism and is then separated into different colors. By looking at the colors in the light you can identify the light source. Oh, but this kind of spectrometer wouldn’t be found in a chemistry lab—at least probably not.
There is also a mass spectrometer. This takes a gas of molecules and shoots them into an area. Using magnetic fields, the path of the molecules is bent. Based on the amount of particle deflection, you can get a value for the mass of the particles.
Also, it’s just fun to say “mass spectrometer”.
Origin of Hacking
Come on. We know that MIT didn’t really invent hacking. Humans have always been able to creatively figure out problems—which is the essence of hacking.
Another non-MacGyver hack. This is a hack from his friend. She creates a door alarm. You can’t really see it very well, but it would be a small battery with a buzzer. The circuit runs to a clothes pin with aluminum foil on the pinchers and a piece of paper between them. Since the paper is an insulator, there is not a closed circuit. The paper is then attached to the door (with tape) so that opening the door pulls the paper out.
It’s actually a pretty simple design. You can (and should) build one of these yourself. Here is a video showing how to do that.
In order to make an improvised weapon, Mac takes an extension cord and cuts off one end. Then he strips the wires on that end and plugs it in to the wall outlet. Note: DON’T DO THIS.
When the two bare ends of the wires touch someone, they will get shocked. Oh, and it’s a whip.
So, would this work? I think it would mostly work. It wouldn’t make the lightning stuff, but that just makes it look cool. It does look cool, right?
This might be the best hack in MacGyver history. Basically, this is a real life MacGyver-hack. It’s a low cost and simple to build centrifuge.
What the heck is a centrifuge? It’s a super high speed spinning thingy. You can put liquids in there and the high rotation rate causes a centrifugal force (yes, I used that term correctly) to separate liquids of different densities. This can be used to process blood.
Here is a real centrifuge.
And here is the DIY version. It’s basically just string and cardboard. However, with this simple version people can process blood stuff in more rural areas. Awesome.
I need a nice model to predict the final velocity when two balls collide elastically. Don’t worry why I need this—just trust me.
After working on this for a short bit and making an error, I realized what I need to do. I need to blog about it. A blog is the perfect place to work things out.
So, here is the situation. A ball of mass 10 kg (ball A) is moving with a speed of 0.1 m/s in the positive x-direction. This collides with a 1 kg ball (ball B) moving at 0.1 m/s in the negative x-direction. What is the final velocity of the two balls if the collision is perfectly elastic.
For a perfectly elastic collision, the following two things are true:
Momentum is conserved. The total momentum before the collision is equal to the total momentum after the collision.
Kinetic energy is conserved. The total kinetic energy is the same before and after the collision.
In one dimension, I can write this as the following two equations. I’m going to drop the “x” notation since you already know it’s in the x-direction. Also, I am going to use A1 for the velocity of A before the collision and A2 for after. Same for ball B.
That’s two equations and two unknowns (the two final velocities). Before solving this, I want to find the answer with a numerical calculation.
Here’s the basic plan (I’m not going over all the deets).
Model the two masses as points with springs on them (not really going to show the springs).
When the two masses “overlap” there is a spring force pushing them apart. The strength of this force depends on the amount they overlap.
Calculate the position and force on each ball (the force would be the zero-vector in cases where they aren’t “touching”).
Update the momentum of the balls.
Update the position of the balls.
Repeat until you get bored.
Oh, make sure you set your fake spring constant high enough. If it’s too low, the two masses can just pass through each other (which would still be an elastic collision).
Actually, notice that KE is NOT conserved. During the collision there is a decrease in the total KE because of the elastic potential energy. I just thought that was cool.
Now let’s get to solving this sucker. I’m going to start with a trick—a trick that I’m pretty sure will work (but not positive). Instead of having the two balls moving towards each other at a speed of 0.1 m/s each, I am going to use the reference frame that has ball B with an initial speed of 0 m/s and ball A with a speed of 0.2 m/s.
Since I am switching reference frames, I am going to rename the velocities. I am going to call ball A velocity C1 and C2 and then ball B will be D1 and D2 (for final and initial). Technically, I should use prime notation – but I think it will just get messy.
So, here is how it looks in the new reference frame.
In general, the initial C velocity would be:
Now I get the following for the momentum and kinetic energy conservation equations.
Now we have two equations two unknowns. I’m going to cheat. I worked this out on paper and I’m just going to take a picture of it.
Here is the final solution (in case you can’t read it).
So, you can get a value for vD2 and then plug that into vC2. After that, you can convert them back to the stationary reference frame to get vA2 and vB2.
Suppose a ball is shot at an angle θ with an initial velocity v0. What will the motion be like in polar coordinates?
First, let me start with Newton’s 2nd Law in polar coordinates (I derived this in class).
Once the ball is in the air (and ignoring air resistance) the only force on the ball is the gravitational force. Yes, this would be -mg in the y-direction, but we don’t have a y-direction. Instead, we have polar coordinates. Maybe this picture will help.
The r and θ components of the gravitational force will change as:
If I use these forces with Newton’s law in polar coordinates, I get:
Of course the mass cancels – but now I can solve the first equation for and the second equation for .
It doesn’t matter that these second derivatives depend on the other stuff – I can still calculate them. Once I have those, I can create a numerical calculation to update the velocities and positions. Suppose I have everything know at time(1), then the stuff at time(2) would be:
Now I’m all set to do a numerical calculation. Well, I still need the initial conditions. I could use this:
But wait! There’s a problem. The calculation for has a 1/r term. If r is zero the universe will explode. I can fix this by having the initial r a little bit bigger than zero. Problem solved.
Hold on. There’s a metric butt ton of science in this episode. It’s going to be great.
SPOILER ALERT. This episode has a bullet that can turn. It’s sort of the key plot element in this episode. These dudes are trying to steal the technology for these “smart bullets”. These bullets are essentially tiny guided missiles with fins so that they can turn in flight.
Again, not a hack—but MacGyver thinks birthdays are dumb. Well, not dumb but arbitrary. I think he is right. In fact, I use the following phrase on people’s birthday’s:
Happy Solar Orbit Day.
Yes, that is the day the person completes another orbit around the Sun. I like thinking of it that way.
Fixing a generator inverter
There are lots of different types of generators. Most of them involve a gasoline engine that turns stuff. Some times this turning stuff involves a magnet to make an electric current. But what happens when the magnet get’s messed up? Yes, you have to fix it.
A permanent magnet is a ferromagnetic object (like iron) in which all the magnetic domains are aligned. If the domains are not aligned then it would just act like a dumb piece of metal. You can get the domains align by applying a strong magnetic field.
This is exactly what MacGyver does to the generator. He uses a defibrillator to generate the current and forms a loop of wire to create the strong external magnetic field. Seems like it could work.
DIY sand blaster
How do you get people out of a collapsed building? What if you could just cut through the wall? Yes, that’s the MacGyver plan.
In this case, he uses high pressure water mixed with sand—a type of sand blaster. If you have water at a high enough pressure, it can pretty much cut through anything. Of course MacGyver’s water by itself isn’t fast enough. That’s where the sand comes in. When the sand hits the concrete, the abrasive interaction is enough to eat away at the concrete.
Oh, this would take quite a while to work.
Seeing through walls with radar
Yes, this is a real thing. NASA made this device. Here is a description. Basically, this thing sends out microwaves and detects the reflected microwaves. But the magic is that it only looks for variations in reflections caused by small oscillations—these oscillations are from a human heart.
For MacGyver’s version, he starts with a radar gun (from a police car). These don’t use the same frequency as the microwave detector, but he can make a modification. With some software from Riley, that’s pretty much what he needs to get started. It’s at least plausible.
How do you lift super heavy stuff? You need a simple machine. All of the simple machines deal with force and distance. If you can increase the distance over which you apply a force, you can get a greater output force over a shorter distance.
In this case, MacGyver makes a screw jack. You can lift a large mass by turning the screw to get it to extend. In fact, you could do something like this yourself. Here’s how.
The goal of an ascender rig is to allow some device to move UP a rope, but not down. This means you can climb up a rope one little bit at a time. Here is an example.
Oh, MacGyver made an ascender rig to climb an elevator cable and escape a collapsed building.
The smart bullet is aimed using a laser. Of course the bullet is only a little bit smart. It only aims towards the brightest laser. If you could make another laser that gets the attention of the bullet, you can get the bullet off course.
MacGyver takes the laser sight off a pistol. In order to increase the power output, he burns off a potentiometer. This could work on some lasers—like this.
Oh, DON’T DO THIS. You don’t want a powerful laser without knowing what it can do. These lasers can seriously damage your eyes in ways you wouldn’t be able to predict. Remember, you only have two eyes. Don’t mess them up.
So, they use this powerful laser to redirect a smart bullet. That part is plausible. It’s unlikely they could get a bullet to turn all the way around. They wouldn’t have time to move the laser dot and the bullet fins couldn’t make it turn that much.
Again, this is not a MacGyver-hack. Well, I guess it sort of is a Mac-hack since he designed the LIDAR. So, what is LIDAR? At the most basic level, LIDAR uses a laser to determine the distance to an object. By scanning this laser over some area, you can get a very detailed distance map. If you know the location of the LIDAR (in the aircraft), you get a very nice map of the terrain below.
But how do you get distance with a laser? The laser produces a beam of light (that’s what the “L” stands for in “laser”) and this light travels at a speed of about . Yes, that is super fast. However, it’s not infinitely fast. So when this laser light travels and reflects off of something, it takes time to get back to the LIDAR. The longer it takes to return, the greater the distance. That’s the basic idea of LIDAR.
How do you start a jet engine?
I’m not an aeronautical engineer (in case you didn’t already figure that out). So here is my very simple explanation of a jet engine. The key to getting thrust is the same as a propeller driven aircraft: make the air coming in go faster as it leaves. This increase of air speed (into and out of the engine) means a change in momentum and thus a forward pushing force. For the jet engine, it increases the final speed of the outgoing air by also heating it by burning fuel.
So, how do you start a jet engine? It’s not the same as starting your car (but not completely different either). The main thing is that you need to get the jet turbines spinning first so that there is air moving through the engine. Then you can add the burning fuel to get the thing started. Here is a great video on how this works. Oh, this is why youtube is so nice—you can find a video on pretty much anything.
Pick lock with a paperclip
Oh, you missed this hack—didn’t you. When MacGyver gets into the old building, he has a paperclip in has hand. So, can you pick a lock with a paperclip? Maybe. You could use the paperclip to jiggle the lock pins, but you would need something to apply torque to the lock cylinder.
Here is a tutorial on lock picking—but don’t be a bad guy.
Break open door with a raft
MacGyver pushes open a locked door by filling a raft with water. Let’s start with the definition of pressure. Pressure is a force divided by an area.
Let’s start with the definition of pressure. Pressure is a force divided by an area.
You can solve this for the force.
So, if you have a pressure (in the raft) it will produce a force equal to the product of the pressure and the contact area. The bigger the area, the greater the force. In fact, with just a small pressure you can get a pretty big force.
OK, this is from a previous episode but I still like it. Here is a demonstration in which I use the pressure from my lungs to lift myself. Yes, small pressure with a large area means a significant e force.
What about the water? Well, the water will give the raft more mass so that it doesn’t just push itself away from the door. If you want to open the door with air pressure, you would need to have something hold the raft agains the door.
I love this visual effect where MacGyver is looking around for stuff to build and it shows all the things he sees. In the end, he builds a dart gun that shoots morphine needles.
Really, I just want to talk about two parts of this build—the shooting and the injecting. MacGyver uses a propane tank to shoot the dart. This is the same as your basic potato gun. Compressed gas from the tank push the dart in the tube. The longer the distance of the tube, the greater the final speed of the dart.
For the injection, you can’t just shoot a needle into someone. You need to push that plunger on the back of the needle to get the drug into a body. That’s where the steel spacers come into play. When the front of the dart hits a person, it will stop. However, the mass on the back will want to keep going until a force slows it down. This force comes from the plunger—that means the plunger gets depressed and the bad guys get drugged.
How do you make one laser look like many lasers? You need a beam splitter. This is exactly what MacGyver does to fool the baddies into thinking there are bunch of other good guys in the woods.
Basically, a beam splitter is a piece of glass. We like to think of glass as being transparent so that light goes right through it—and it does. That’s why we use glass for windows to see stuff outside. But light also reflects off glass. In fact, if the light (from the laser) hits the glass at an angle then you will get both transmission AND reflection.
It doesn’t even need to be glass. Here is a quick demonstration of a beam splitter with just a piece of clear plastic.
Dog’s are pretty awesome for smelling stuff. They have noses that are much more sensitive than a human and they are smart enough to be trained. Oh, also they are dogs—so that’s an extra bonus. Dogs can detect more than guns. When trained, they can sniff out drugs or even some humans with particular medical conditions. Pretty awesome.
Again, not a MacGyver hack. Instead, there is a scene in which Desi (yes, Desi is the new recruit) runs and uses a corner of two walls to climb on top of a storage container.
So, how the heck do you run up a wall? The answer is “friction” and “momentum”. Let’s start with friction.
When two surfaces interact, there can be a frictional force. This force is parallel to the surfaces and proportional the perpendicular force that pushes the two surfaces together (we call this the normal force). If you put a book on a flat table, you can feel that frictional force as you try to slide the book. If you push DOWN on the book while trying to pull it, the frictional force will increase.
Since you have a vertical wall, it’s possible to have an upward frictional force to prevent Desi from falling down. However, there needs to be a force pushing Desi INTO the wall in order to have a significant perpendicular force. Actually, try this yourself. Take that same book you had on the table. Now put it on a vertical wall and let go. Yes. It falls. There is nothing pushing the book into the wall so there is no frictional force.
Now for momentum. Momentum (represented by “p”) is the product of an object’s (or human’s) mass and velocity where the velocity is a vector (depends on both the speed and the direction). Momentum is important in its relationship to the net force on an object. Here, we have the momentum principle:
So, what happens when Desi runs TOWARDS a wall and pushes off? The direction of her momentum changes from towards the wall to away from the wall. This change in momentum means there must be a force on her. Yes, this force comes from the wall. The faster she runs towards the wall, the greater her change in momentum and the larger the normal force.
This means a large normal force also produces a large frictional force. The frictional force is high enough to prevent Desi from falling while in contact with the wall. In fact, it’s a large enough force for her to move UP the wall. Of course, she is also now moving away from the wall. This is where the second wall comes into play. Now she just does the same this with that other corner wall. Physics.
MacGyver needs a distraction. He takes some gun oil (used to trick the dog) and pours it into the engine of a forklift. When the fork lift starts, it is now running with extra oil in the fuel. This oil produces a blue-white smoke that comes out the exhaust. Yes, you have seen this with cars. It’s a bad sign that there is oil leaking into the engine cylinders.
The next thing that MacGyver does is to cut the fuel line. This pours extra diesel onto the hot engine. Theoretically, it could catch fire. Theoretically, this fire could cause an explosion. In theory.
DIY dog whistle
Yes, you can indeed make a whistle from a stick. Some sticks are easier than others—but still…
What makes a dog whistle different than a whistle? It’s really just the fundamental frequency that it blows. A normal whistle has a lower frequency that human ears are good at detecting. The dog whistle has a much higher frequency that most humans can’t hear.
Oh, what about the plastic bag? Yes, MacGyver gets a plastic bag and attaches this to the whistle. This makes an improvised bellows. The idea is that you can fill it up with air and then push the air out at a greater rate than just blowing. It makes the whistle louder than normal.
Cody (the dog) has an RFID chip in him. The basic idea behind a passive RFID is that you can excite it with a radio wave such that it transmits some data (like an ID). Oh, but you have to get pretty close for this to work. Here is a nice RFID tutorial.
Now for the MacGyver hack. In order to find Cody with his RFID, they need two things. First, they need a method to activate the passive RFID at a long range. To do this you need lots of power. That’s where the AM radio station comes in. If you use a nearby radio transmitter, it could activate a bunch of RFID tags. This is fairly plausible. No, you wouldn’t “hear” anything—it would just broadcast a particular frequency that the RFID uses.
The second thing—something to detect the RFID signal from a range. That’s why you need a satellite dish. The parabolic dish reflects weak radio signals into the detector. Of course this only works if you are pointing it in the right direction. So, you need to sweep this over some area until you get a signal. Once you find the dog you want, you have to use the dish to zero in on the location.
Disabling a car
What can you do to prevent a car from driving? Yes, there is the classic banana up a tail pipe trick (from Beverly Hills Cop), but how about something different?
OK, I admit this is a bit of a stretch. However, if you can make some sort of electromagnetic pulse device then it can interfere with the car’s electronic system.
That’s “essentially” what MacGyver does here. Let’s just leave it at that.
Foam fire extinguisher
How do you put out a fire? One way is to remove oxygen from the fire. Without oxygen, the fire can’t burn. This is essentially what a carbon dioxide fire extinguisher does. It shoots out carbon dioxide gas which displaces the oxygen and the fire goes out.
You can make a foam-based fire extinguisher that essentially does the same thing. The only difference is that the carbon dioxide is trapped in the foam. This means that you can cover some stuff with the foam and it should put out the fire.
Now for the fun part. You can make fire extinguishing foam with three things: vinegar, baking soda, liquid soap.
When you mix baking soda and vinegar, it produces carbon dioxide. If you add soap to the vinegar, then it also bubbles. This is not too difficult to try (but it can get messy).