This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Programming Diversions and the fly likes Spin circles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Other » Programming Diversions
Bookmark "Spin circles" Watch "Spin circles" New topic
Author

Spin circles

HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
Four skaters spin in circular patterns of equal diameter, each a third of a mile long. They start from the four points shown by the ends of lines nearest to the circle ,at exactly the same time. They travel at 6, 9, 12 and 15 mph respectively anti-clockwise..
In 20 minutes how many times will they have simultaneously returned to the spots where they started ?

[ November 30, 2003: Message edited by: HS Thomas ]
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874
I think they won't.I am not sure.
Time required for '6' to complete one rotation: 10*pi/3 minutes
Time required for '9' to complete one rotation: 20*pi/9 minutes
Time required for '12' to complete one rotation: 5*pi/3 minutes
Time required for '15' to complete one rotation: 4*pi/3 minutes


MH
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
They would 3 times.
Hope that helps. Oops that was the answer. I gave it away .
Can anyone work out why ?
[ December 01, 2003: Message edited by: HS Thomas ]
Arjun Shastry
Ranch Hand

Joined: Mar 13, 2003
Posts: 1874
HS , I think its a time to post the solution.
HS Thomas
Ranch Hand

Joined: May 15, 2002
Posts: 3404
OK, here it is.
In 20 minutes they travel one third of a mile 6, 9, 12 and 15 times. The largest number these numbers are all divisible by is 3. They return to their original point 3 times in 20 minutes, after 6:40 minutes, 1.20 minutes and 20 minutes.
20 minutes is one third of an hour.
regards
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spin circles
 
Similar Threads
WA #1.....word association
How to replace "\\" character.
Knight's tour
Plots
Overloaded Methods vs. Ppcasting.