Let speed of boat be x miles/hr
Let speed of river be s miles/hr

First Method:
Hat comes down 1 mile in 10 minutes.
Hat comes with flow of river only. So its speed is equal to speed of river.
In 60 minutes, it will travel 6 miles.
thus, s = 6 miles/hr

Second Method:
Distance travelled upward by boat = 1 + (5/60)*(x-s) miles
Distance travelled downward by boat = (5/60)*(x+s) miles
Both are same, so
1 + (5/60)*(x-s) = (5/60)*(x+s)
x gets cancelled, and we have
s/6 = 1
s = 6 miles/hr

Second method is just one possible method which nobody would like to follow.
First one is easier and faster - win-win situation
For a change the easier method is faster as well
-- 
Tushar Bindal
Computer Engineering
Delhi College of Engineering
Mob: +919818442705
E-Mail : [email protected]
Website: www.jugadengg.com

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to