Can anybody make this on java ???
plss I nedd it for my exam ...
This is the text fot program :
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 de?ned by these
formulas:
x = initial
velocitycosine(radians angle)t
2
velocitysine(radians angle)t)((gravityt )2)
y = (initial
where initial velocity is the velocity of the ball when it ?rst 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 di?erent initial velocities,
degrees angles, and gravitational constants.