trick/trick_sims/Cannon/SIM_cannon_numeric/README.md
2017-05-11 17:44:43 -05:00

447 B

SIM_cannon_integ

CannonPicture

The Simulation

This is a simulation of a cannon shooting a cannonball. Given the initial position of the cannon ball, the muzzle velocity (speed) of the cannon ball, and the elevation angle of the cannon barrel the simulation computes the cannon ball's trajectory and time of impact with the ground.

The acceleration of gravity is assumed to be -9.81 m/s2.