A large panel needs to be moved through a corridor, the panel is tall as the corridor. The corridor is A feet wide before a right angle turn, after the turn, it is B feet wide. What is the maximum length of the panel that can pass through this corner.
Overhead view of the hallway:
+------------+--- | / | | / |B ft | / | | /+------ | / | | / | | / | | / | | / | | / | | / | |/ | +<-A ft-->|