mirror of
https://github.com/nasa/trick.git
synced 2024-12-24 15:26:41 +00:00
444 B
444 B
#SIM_cannon_integ
###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.