This famous study, published in 1851, by Kling & Horowitz has a beautiful solution.