This article is from the Puzzles FAQ, by Chris Cole chris@questrel.questrel.com and Matthew Daly mwdaly@pobox.com with numerous contributions by others.
Two ladders form a rough X in an alley. The ladders are 11 and 13 meters
long and they cross 4 meters off the ground. How wide is the alley?
geometry/ladders.s
Ladders 1 and 2, denoted L1 and L2, respectively, will rest along two
walls (taken to be perpendicular to the ground), and they will
intersect at a point O = (a,s), a height s from the ground. Find the
largest s such that this is possible. Then find the width of the
alley, w = a+b, in terms of L1, L2, and s. This diagram is not to
scale.
B D
|\ L1 L2 /|
| \ / | BC = length of L1
| \ / | AD = length of L2
| \ O / | s = height of intersection
x| \ / |y A = (0,0)
| /|\ | AE = a
| m / | \ n | EC = b
| / |s \ | AO = m
| / | \ | CO = n
|/________|________\|
(0,0) = A a E b C
 
Continue to: