Overview
This app analyzes ideal projectile motion (no air resistance). Provide the initial speed, launch angle (in degrees), and gravitational acceleration. The app computes the maximum height, total flight time, and horizontal range, then plots the trajectory and animates the projectile moving from launch to landing.
Formulas
- Maximum height: H=2gv02sin2(θ)
- Time of flight: T=g2v0sin(θ)
- Horizontal range: R=gv02sin(2θ)
Trajectory equation y(x) (for cos(θ)=0): y=xtan(θ)−2v02cos2(θ)g,x2.
Angles are supplied in degrees ∘ and converted to radians internally. For vertical launches (θ=90∘), the parametric form x(t)=v0cos(θ)t, y(t)=v0sin(θ)t−21gt2 is used to generate the plot and animation.
How to Use
- Set the Initial velocity v0 in m/s.
- Set the Launch angle θ in degrees ∘.
- Optionally adjust Gravity g (default 9.81 m/s2).
- Read the computed Maximum height H, Time of flight T, and Range R.
- See the Diagram for the trajectory and the Animation to watch the projectile move until it lands.
Notes
- The model assumes a flat launch and landing elevation and no aerodynamic drag.
- For zero or near-zero values (e.g., v0=0), the plot and animation will default to minimal ranges to remain visible.