|
- Create a class for the Euler method
and a class for the Predictor-Corrector
method and write a program that uses each to solve the projectile
motion problem and compares the results.
- Add drag to the projectile motion examples in Demo
1 & Demo 2 with a velocity
dependent term that goes as the square of the velocity:
D
= -k2 * v/|v|
where k ~= .02. The component velocities become
Dx = -kv2 cos = kv vx
Dy = -kv2 sin = kv vy
Find the landing point of the projectile and its final
horizontal and vertical velocities using the 4th order Runge-Kutta method.
(You can assume a flat terrain.)
- For the exercise 2 drag term, determine the terminal velocity of a
dropped object using 4th order Runge-Kutta.
- Modify the projectile target shooting method in Demo 3 to apply drag
as shown in exercise 2.
|
|