This simulation demonstrates the motion of two balls under gravity:
The position equations are:
Dropped ball: s₁ = ½gt²
Thrown ball: s₂ = ut - ½gt²
Collision occurs when s₁ + s₂ = 20m