Baseball Trajectory: Will It Clear the Fence?
Problem
A baseball is hit at 40 m/s at 35°. Will it clear a 3-meter fence 100 meters away?
Explanation
A baseball is launched at speed and angle from ground level. Will it clear a fence of height at horizontal distance ? This is the classic "home run" question — and it's solved in two short steps using the trajectory equation.
The Physics
Eliminating time from the parametric equations gives the trajectory equation — height as a function of horizontal position:
To check whether the ball clears the fence, simply evaluate and compare to :
- If → HOME RUN ✓
- If → the fence stops it ✗
Step-by-Step Solution
Given:
- Launch velocity:
- Launch angle:
- Fence distance:
- Fence height:
- Gravity:
Find: Does the baseball clear the fence?
Step 1 — Decompose the launch velocity.
Step 2 — Find the time at which the ball reaches the fence.
The horizontal velocity is constant, so:
Step 3 — Verify the ball is still in the air at .
Total flight time:
Since , the ball is indeed still flying when it reaches the fence's -coordinate. ✓
Step 4 — Find the ball's height at the fence.
Plug into :
Step 5 — Compare to the fence height.
The ball is 21.3 m above the top of the fence as it crosses — that's like clearing a fence with a building's worth of room to spare. 💥
Step 6 — (Bonus) How much margin do we have? Find the minimum speed.
Setting and solving for the minimum at the same :
So you'd need at least 33 m/s at this angle to clear the fence — and we have a comfortable 7 m/s of margin.
Answer: HOME RUN! ✓ At and , the baseball is at above the ground when it reaches the 100 m mark — a margin of 21.3 m above the 3 m fence. The minimum speed needed to clear this fence at this angle is about 33 m/s, so we have plenty of margin.
Try It
- Drop the velocity to about 18 m/s — watch the ball just barely fail to clear the fence (the indicator turns red).
- Raise the fence to 20 m — turns easy home runs into challenging shots.
- Increase the fence distance to 150 m — the fence is now beyond our range and the ball doesn't even reach it.
- The HUD shows the Δ at fence in real time.
Interactive Visualization
Parameters
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.