Ferry Boat Solution

Two ferry boats ply the same route between ports on opposite sides of
a river. They set out simultaneously from opposite ports, but one is
faster than the other, so they meet at a point 720 yards from the
nearest shore. When each boat reaches its destination, it waits 10
minutes to change passengers then begins its return trip. Now the boats
meet at a point 400 yards from the other shore. How wide is the river?







http://www.wolframalpha.com/input/?i=%28d-720%29%2F720%3D%28720%2Bd-400%29%2F%28d-720%2B400%29

A graphic solution in Python is at

ferry.py

A solution from Math Central