Exercise: The cannon ball problem.
Assume we have a cannon pointing X degrees with respect to ground.
The cannon mouth is Y meters above ground.
A cannon ball is fired with initial velocity of V km/h.
- How far will it reach the gound?
- What is the maximum height and at what time, assuming t = 0 is the initial time of flight?
- How long (the period) is the flight of the ball?
Write a GUI solver (Java program) for this problem. Submit a tgz file containing the .jar and the .java files of this project.
Last modified: Monday, 16 July 2018, 1:27 PM