You can put this solution on YOUR website! A rectangular packing box measures 24" by 18" by
15". Will an umbrella 32" long fit into this
box?
----------
The diagonal d = sqrt(24^2 + 18^2 + 15^2)
d = sqrt(1125)
d =~ 33.54"
-----------
Probably, but not if the diameter of the umbrella is too large.
Calculating the max diameter that will fit is more difficult.
This problem assumes the umbrella is just a line.