Have you ever wished you could fly to space? Space flight is getting more accessible thanks to reusable rockets that make getting to space much cheaper. Civilian astronauts can even buy tickets for a few minutes in space! But exactly how high is "space"? How do engineers predict how high a rocket will go and figure out how to make it land safely? Find out in this project as you explore the physics of suborbital space flight.
Simulate the trajectory of a suborbital spaceflight and compare your simulation to data from a real flight.
Space flights that reach space (whichever definition you use) but do not complete a full orbit around the Earth are called suborbital flights. These flights typically give passengers a view of Earth and the Sun from space and a few minutes of the sensation of weightlessness, or zero-g, at the peak of the flight before returning to Earth. Some of them also have reusable rocket boosters that land safely back on Earth to be reused again and again.
How do engineers design a rocket that can reach space? They need to understand the forces acting on the rocket. Rockets burn fuel and expel exhaust gases at a very high velocity. According to Newton's third law of motion—famously stated as "for every action, there is an equal and opposite reaction"—when the exhaust is pushed out of the rocket, it pushes back on the rocket, generating thrust, or the force that propels the rocket upward. The rocket's weight—the force that results from gravity pulling on the rocket's mass—pulls it down. Air resistance, also called aerodynamic drag, also acts on the rocket. See the NASA reference in the Bibliography to learn more about the forces acting on a rocket.
According to Newton's second law of motion, the net force acting on an object, its mass, and its acceleration (the rate of change of velocity, or how much velocity changes per unit time) are all related by an equation:
where
So, if you know the net force on an object, and you know its mass, you can calculate its acceleration. If you know an object's acceleration, you can figure out its position at a given time using two more equations. Remember that acceleration is the rate of change of velocity. Velocity, in turn, is the rate of change of distance. We can write these out as equations:
where
There is just one problem—as a rocket burns fuel, its mass changes! This makes "rocket science" a little more complicated than what you will usually learn in your first physics class, where you apply Newton's laws to an object with constant mass, like a ball. Do not worry though—the simulator in this project does this rocket science in a way that is very easy to follow!
The simulation models a rocket’s vertical flight by stepping through time in small chunks (like frames in an animation). At each step, it updates the rocket’s velocity and altitude based on the forces acting on it. The method used to do this is called the Euler method, which is a simple way to estimate how things change over time. Here's how the simulation works, step-by-step:
This approach doesn't try to solve the physics equations all at once. Instead, it builds the flight path one step at a time—just like a video game updates each frame. It's not perfectly accurate, but it gives a good estimate, especially with small time steps. To explore a more mathematical description of the rocket equations, check out the Variations section of the project.
You can use the interactive module provided in the procedure to find out how changing a variable—like the mass of the rocket or how much fuel it carries—changes its maximum velocity or apogee. You can even compare your simulated rocket trajectory to data from a real rocket flight. Get ready to try rocket science out for yourself!
userAnimationTime
variable, which controls the length of the animation in seconds. Real suborbital flights can be around 10 minutes long, so the code does not plot the flight in real time. Change this variable to speed up or slow down the animation. dry_mass
. This simulates a heavier vehicle, for example, one carrying more crew or cargo. How does this change the maximum altitude, velocity, and acceleration achieved by the rocket?fuel_mass_ascent
and fuel_mass_landing
variables. If you decrease fuel_mass_ascent
, you should proportionally decrease burn_time
to keep the burn_rate
constant. What happens?