Consider a projectile thrown at angle \(\theta\) on a flat horizontal surface. Let \(t\) be the time, where \(t=0\) is when the projectile is first thrown. Let \(y(t)\) be the position in the \(y\) direction and let \(x(t)\) be the position in the \(x\) direction.
Let \(\textbf{u}(t)\) be the initial velocity, and let \(\textbf{u}_x(t)\) and \(\textbf{u}_y(t)\) be the initial velocity in the \(x\) and \(y\) direction respectively:
Let \(T_{\text{tof}}\) (time of flight) be the time the projectile is in the air. This is the time between \(y=0\) the first time (i.e. \(y(0)\)), and \(y=0\) the second time. We can start with this equation:
Since we are considering the case where \(y(t)=0\):
Rearranging:
This is the time of flight for a projectile both launched and impacting on a flat horizontal surface. This equation does not apply when the projectile lands at a different elevation than it was launched.
We are now going to derive an equation where we get a \(y\) position based on \(x\). We will assume there is no air resistance:
This means:
Simplifying:
This means we can define another function \(y(x)\), which gives the \(y\) position in terms of \(x\):
This is the trajectory equation. From this, we can derive the range equation, which gives the horizontal distance traveled by the projection (i.e. the time when the projectile's \(y\) position goes back to 0).
We can use the quadratic formula here:
Simplifying:
Let \(R\) be the \(x\) position where the projectile lands. Since we want only the landing position, and since \(\sin(2 \theta) = 2 \sin(\theta)\cos(\theta)\):