Numerical Methods | |
|
Rocket launchA model rocket with a mass $m$ is launched with a motor that provides a upward force of $F_{\text{thrust}}$ for 3 seconds. This force can be expressed mathematically as $\vec{F}=F_{\text{thrust}}H(3-t)\hat{z}$ where $H(x)$ is the Heaviside step function. As the rocket uses fuel, its mass decreases. In the example below, the rocket looses half of its mass in the three seconds that it accelerates and then the mass remains constant, $m=0.1(2-H(3-t)t/3-H(t-3))$. Other forces that act on the rocket are gravity $-mg\hat{z}$ and a drag force that can be described by, $\large \vec{F}_{fric} = -a(\vec{v}-\vec{v}_{\text{wind}}) - b(\vec{v}-\vec{v}_{\text{wind}})|(\vec{v}-\vec{v}_{\text{wind}})|,$ where $a$ and $b$ are constants and $\vec{v}_{\text{wind}}$ is the velocity of the wind which can depend on position and time. |