mirror of
https://github.com/nasa/trick.git
synced 2024-12-26 16:21:07 +00:00
.. | ||
images | ||
Modified_data | ||
RUN_graphics | ||
RUN_test | ||
README.md | ||
S_define | ||
S_overrides.mk |
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.