Check out example codes for "A ball is fired from a sling shot. The initial velocity is 2.25 m/s at 22.5. What are the vertical and horizontal components of the ball's initial velocity as it leaves the sling shot?". It will help you in understanding the concepts better.

Code Example 1

sling

Learn ReactJs, React Native from akashmittal.com