Given that the speed of the boat in still water = 20 mph
Let speed of current = x
Effective Speed of Boat downstream(with current) = 20 + x
Effective speed of boat upstream (against current) = 20 - x
Time taken to travel is given by:
Distance / speed
Therefore,
Time taken to travel downstream = 3 /(20 + x)
Time taken to travel upstream = 2 / (20 - x)
Since both travel times are the same, we have:
3 /(20 + x) = 2 / (20 - x)
Taking cross products we have:
2(20 + x) = 3(20 - x)
40 + 2x = 60 - 3x
5x = 20
x = 20/5
x = 4
Therefore the current's rate is 4 mph.