https://www.wired.com/story/physics-tank-shell-polar-coordinates

If the internet was your online physics textbook, The Slow Mo Guys would be writing a good number of those homework questions. Of course The Slow Mo Guys are Gavin and Dan and they use a super high speed camera and look at stuff around us. OK—in this case, they aren’t looking at normal things. They are looking at the motion of a high speed shell fired from a tank.

But how do you see this tank shell if it is traveling around 2,000 feet per second (609 m/s)? You could just put the camera far enough away that the path of the projectile would be in the frame. However, in that case you could barely see the fast moving object. It would be too small in the video. OK, what about getting close to the path so that the shell looks larger? Yes, you could see it, but just for a tiny fraction of the total path.

The solution to this problem is to use both methods. Get the camera close to the path and then rotate the view as the projectile passes. The Slow Mo Guys are going to put the camera 82 feet from the path which means it would have to rotate at around 3,000 degrees per second—which is pretty much impossible. But instead of rotating a camera, they will just use a rotating mirror. The camera looks at the mirror and from that it can see the tank shell. Then the camera can stay in place while the mirror rotates. Perfect.

Here is the real question. How do you determine the angular position of a mirror so that it can track the projectile? The answer: polar coordinates. Yes, you thought they were just joking when they made you do stuff with polar coordinates in math class. Surprise. You actually need this sometimes.

Let’s do this. How about a review of two different coordinate systems: cartesian and polar coordinates. Also, how do you use polar coordinates to track a super fast projectile?

### Cartesian Coordinates

This is the one you are likely familiar with. In two dimensions, there is an x-axis and a y-axis. They are perpendicular to each other. Once you pick the origin, you can describe the location of an object with an x and y coordinates.

There’s really not too much to say about this coordinate system since you’ve probably seen it before. Let me just make some comments. Don’t forget about units. It’s not just x and y numbers, these numbers have to have units to make a connection to the real world.

Now let’s say that the projectile is moving in the negative x-direction with a velocity of 600 m/s. In that case, I can write the following kinematic equations for the position of the projectile.

In these expressions, x_{1} is the starting x-position and x_{2} is the position after some time Δt. Notice that the y-position doesn’t change since it’s only moving in the x-direction.

But just because it’s easy to find the position doesn’t mean you would know where to point your camera mirror. OK, I get it. It’s possible to use the position to calculate the angle to aim the mirror—but that’s not as much fun as using polar coordinates.

Oh, I should also point out that if you move the origin of the cartesian coordinate system it’s not a big deal. Sure, you will have different starting positions but the velocity equations mostly look the same.

### Polar Coordinates

If you are still dealing with motion on a flat plane (ignoring the vertical motion of the tank shell), you will need two coordinates to describe the location of the object relative to the origin. Instead of using two perpendicular distances (x and y), polar coordinates uses an angle and a distance. Here is the same object from before using polar coordinates.

Instead of x and y, we use r (the distance from the original) and θ the angle from the x-axis. Yes, if you draw the polar coordinates on top of the cartesian coordinates it’s possible to see the connection between the two systems. If you want to find the r and θ values you can use a right triangle. The hypotenuse of this triangle would be r and the angle would be θ. This gives the following conversion.

Everything looks great. But there is a problem. How do you express the velocity of an object in polar coordinates? It’s not a simple problem. If a projectile is moving in the x-direction, its velocity is just in the x-direction in the cartesian coordinate system. However, for polar coordinates both its angular value and its r value will change. You can see this if I show the coordinates of the object at two different times.

Describing the velocity in polar coordinates isn’t just in one dimension and those values aren’t constant. Why would anyone use polar coordinates? Because with polar coordinates, you get the angular position of the object. This is exactly what you need to aim the mirror. Oh, notice that if I move the origin for the polar coordinate system the values can change quite a bit.

OK, let’s just do this. Let’s get an expression for the velocity in polar coordinates. Since it involves a lot of math, I’m just going to share this video of my derivation instead of writing it out. Actually, I wrote it out too—here you go.

But in the end, you don’t get something nice and simple like you do in cartesian coordinates. You get an r and θ expression that changes with time and depends on second derivatives with respect to time. Yes, you get a differential equation. But wait! All is not lost. I know you don’t want to solve a differential equation—and you don’t have to. We can create a solution to this problem by breaking it into tiny steps and solving each step. This is the key idea in a numerical calculation. It’s easiest to do something like with a small bit of computer code.

In order to create a numerical calculation, I need the following (in polar coordinates).

- The starting position of the object. The video states that the camera is 82 feet away (25 meters), so I will use that as my starting r value. The initial angle will be 90 degrees.
- What about the starting velocity? Since I have two dimensions (r and θ) I need the velocity in these two directions. Here is the weird thing about the velocity in polar coordinates. As the object moves the r-direction and θ-direction change. In cartesian coordinates, the x and y-direction stay constant. OK, so let’s give this thing an initial velocity in the θ direction with a magnitude of 600 m/s.

That should be enough. With these values, I can use the differential equations to find the polar velocity and position after some short time interval. Then I just keep doing that until I want to stop or my computer explodes. Here is the code with a plot of the angular value of the position as a function of time. Feel free to edit it and rerun it. You can’t break anything.

From the plot of angle vs. time, you can see it’s not such a simple problem. You can’t just turn the camera mirror at a particular angular speed to follow the projectile. The closer the tank shell gets to the camera, the faster you have to rotate the mirror for it to stay in view.

OK, now for some questions for you (or for me in the future).

### Homework

- Use the code above. Create a plot of r vs. time.
- In the code, use the values of r and theta during each time step to calculate the x-position of the object. Plot the position vs. time to show that it is indeed a constant x-velocity.
- Modify the starting position (r) in the code. What happens if the starting position is closer to the tank shell? What if it is farther away?
- What is the maximum angular velocity (in radians per second) for the mirror?
- Suppose you put a camera that has a length of 10 cm and rotates about the center. Calculate the centripetal acceleration for the end of this camera if it was to follow to projectile. Suppose the end of the camera has a mass of 50 grams. Calculate the force needed to keep it together.
- Estimate the power (in watts) needed for a camera to rotate to track the tank shell.

### More Great WIRED Stories

via Wired Top Stories https://ift.tt/2uc60ci

March 6, 2019 at 08:06AM