Simulation can help predict position and velocity of a skydiver who jumps from an airplane and opens a parachute. In this tutorial, we predict the position and velocity of a skydiver in two dimensions (horizontal and vertical) from the time of the initial jump through the first 90 seconds. At 60 seconds after the jump, the skydiver pulls the chute and the drag coefficient increases to slow the decent. The airplane is flying at a constant altitude of 5000 meters and 50 m/s when the skydiver jumps. The drag coefficient is 0.2 N-s^2/m^2 while free-falling and 10 N-s^2/m^2 with the parachute open. The gravitational constant is 9.8 m/s^2 and the mass is 80 kg for the skydiver and chute.
Create scripts with code, output, and formatted text in a single executable document.