Calculate the trajectory of our cannon shell including both air drag and the reduced air density at high altitudes so that you can reproduce the results in the figure.Perform your calculation for different firing angles and determine the value of the angle that gives the maximum range.
Projectile motion
-
Newton's second law in two spatial dimensions
(1)Euler method for second-order ODE
-
write each of these second-order equations as two firest-order differential equations
(2)- Euler method with resistance
![](http://latex.codecogs.com/png.latex?x_{i+1}=x{i}+v_{x,i}\Delta t)
![](http://latex.codecogs.com/png.latex?v_{x,i+1}=v_{x,i}-\frac{B_2vv_{x,i}}{m}\Delta t)
![](http://latex.codecogs.com/png.latex?y_{i+1}=y_i+v_{y,i}\Delta t)
![](http://latex.codecogs.com/png.latex?v_{y,i+1}=v_{y,i}-g\Delta t-\frac{B_2vy_{y,i}}{m}\Delta t)
How to decide the point of fall?
-
the last point above the ground(n) and the first point below the ground(n+1) is given by
(3)Effects of altitude
- isothermal (constant temperature) ideal gas
(4)
- Euler method with resistance
-
网友评论