Can anybody make this on java ???

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.

Start from the begining...

I'm not a GUI expert, so the GUI guys will have to jump in and help out...

- First write down the requirements and understand them completely (do you understand the equations?)
- Write down on paper the flow of your program and the different classes and methods that you will need.
- One of those requirements is:

Quote:

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

So start by getting the user's options (JOptionPane?)... are there any limits that these options should have? If so. you would also have to check for those limits.

Luck,

CJSL