trick/trick_sims/Cannon/SIM_cannon_numeric
jmpenn d90a979b36
Updates for Example Sims (#655)
* Move integloop initialization from input file to S_defines create_connections routine

* Add README.md to describe the ball sims.
2018-07-31 19:01:47 -05:00
..
2018-07-31 19:01:47 -05:00
2018-07-31 19:01:47 -05:00

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.