And the formulas for X and Y:
X = J1 + C1*cos(c2)*u
Y= J2 + C1*sin(c2)*u +0.5*(-9.8)*u^2
NOTE: It is important to be consistent in the selection and use of units and constant values. If we use meters as
length unit, and meters per second as speed unit, we also should use g in meters per centimeter square. And thus, the parameter u will also represent seconds.
The next example is a ball falling from a roof with a slope of 45 degrees, from a height of 18 m. Let’s assume that at the moment it
comes to the roofs edge, the ball has a speed of 12 m/s.
Last example: A plane flying at a height of 2000 m at a speed of 800 km/h (which is 222,2 m/s), releases