Program an animation of a cannon ball shot into the air: The position, x,y, of the cannon ball in the air after t seconds have elapsed is defined by these formulas:

x = initial_velocity * cosine(radians_angle) * t

y = (initial_velocity * sine(radians_angle) * t) – ( (gravity * t2) / 2 )

where initial_velocity is the velocity of the ball when it first leaves the cannon, gravity is the pull of gravity, and radians_angle is computed as

radians_angle = (degrees * PI) / 180 degrees is the angle that the cannon was pointed when it shot the cannon ball.

Your application should let the user experiment with different initial velocities, degrees angles, and gravitational constants.