Description of this paper

CSC 130 programming help




Write a program that explores the effects of gravity on a ball that is thrown from a tower at a constant velocity. Your program will calculate how far the ball will travel, and how long it takes, before hitting the ground. Use three different classes. World class, Ball class, Tester class. The Tester class will contain the main() method and provide the control of the program. The World class will provide the acceleration force felt by the ball, and the tower height. The Ball class will contain the velocity and angle of throw of the ball. We will discuss in class the methods necessary to make this all work.;The Program will take as input;Initial velocity;Initial angle;Tower height;The program will then return;Distance thrown;Time to impact;P.S. if possible, please write the algorithm of the program as comment on top.


Paper#68436 | Written in 18-Jul-2015

Price : $22