(MATLAB) given a cannon ball that is shot upwards at an angle, the time taken for the cannon ball to hit the ground is:
1. Write a single function that outputs the total time of flight, range of projectile and velocity on impact given inputs.
2. Use the functions you created in q1 to compute values for: given data.
3. Plot the trajectory of the cannon ball 0 to total time.