Billiard Ball Problem

Reply

Join Date: Oct 2007
Posts: 52
Reputation: weasel7711 is an unknown quantity at this point 
Solved Threads: 0
weasel7711 weasel7711 is offline Offline
Junior Poster in Training

Billiard Ball Problem

 
0
  #1
Apr 1st, 2009
You have 9 billiard balls. They are all the same weight, save one. You want to find out which one is heavier. All you have is a scale that determines the heavier side. You can weigh any number of balls at any time. What is the least amount of weighings you can do to find the heaviest ball?
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,844
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 503
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: Billiard Ball Problem

 
0
  #2
Apr 1st, 2009
Originally Posted by weasel7711 View Post
You have 9 billiard balls. They are all the same weight, save one. You want to find out which one is heavier. All you have is a scale that determines the heavier side. You can weigh any number of balls at any time. What is the least amount of weighings you can do to find the heaviest ball?
Cool problem. You can do it in two weighings.

Edit - I explained how, but after thinking about it, I took down the explanation in case other people want to puzzle over it themselves.

As a generalization, if you have n balls and one of them is heavy, how many weighings does it take?
Last edited by VernonDozier; Apr 1st, 2009 at 4:43 pm.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 62
Reputation: chriswellings is an unknown quantity at this point 
Solved Threads: 0
chriswellings chriswellings is offline Offline
Junior Poster in Training

Re: Billiard Ball Problem

 
0
  #3
Apr 1st, 2009
correct me if im wrong (and might be the case) but if you got 9 billiard balls all of the same weight wouldnt the answer be 0 : none would be hevier as they weigh the same??
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,844
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 503
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: Billiard Ball Problem

 
0
  #4
Apr 1st, 2009
Originally Posted by chriswellings View Post
correct me if im wrong (and might be the case) but if you got 9 billiard balls all of the same weight wouldnt the answer be 0 : none would be hevier as they weigh the same??
The original problem states that there is one ball that is heavier.
You have 9 billiard balls. They are all the same weight, save one. You want to find out which one is heavier.
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 62
Reputation: chriswellings is an unknown quantity at this point 
Solved Threads: 0
chriswellings chriswellings is offline Offline
Junior Poster in Training

Re: Billiard Ball Problem

 
0
  #5
Apr 2nd, 2009
lol... i read the q over and over mabee the question shoulda been worded a little different say they all weight the same excep one??
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 369
Reputation: Thinka is an unknown quantity at this point 
Solved Threads: 10
Sponsor
Thinka's Avatar
Thinka Thinka is offline Offline
Posting Whiz

Re: Billiard Ball Problem

 
0
  #6
Apr 2nd, 2009
Originally Posted by VernonDozier View Post
Cool problem. You can do it in two weighings.

Edit - I explained how, but after thinking about it, I took down the explanation in case other people want to puzzle over it themselves.

As a generalization, if you have n balls and one of them is heavy, how many weighings does it take?
I've been thinking about it, and I can't work it out. Pray tell, what be the answer?
Never approach a computer with the words "I'll just do this quickly..."
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 3,844
Reputation: VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute VernonDozier has a reputation beyond repute 
Solved Threads: 503
Featured Poster
VernonDozier VernonDozier is offline Offline
Senior Poster

Re: Billiard Ball Problem

 
0
  #7
Apr 2nd, 2009
Originally Posted by Thinka View Post
I've been thinking about it, and I can't work it out. Pray tell, what be the answer?
First, separate the balls into three groups of three. Pick two of the three groups. Put one of the groups of three on one side of the scale and another group of three on the other side. Weigh them. If they weigh the same, the heavy ball is in the group of three that wasn't on the scale. Pick that group of three for the next weighing. If one side of the scale is heavier than the other, the heavy ball is on the heavy side of the scale. Pick that group of three for the next weighing.

So after one weighing, you've narrowed it down to one of three balls. Randomly pick two of the three balls. Stick one ball on each side of the scale. Weigh them. If they weigh the same, the heavy ball is the ball that isn't on the scale. If one ball on the scale is heavier than the other, that's the heavy ball.
Reply With Quote Quick reply to this message  
Join Date: Aug 2004
Posts: 369
Reputation: Thinka is an unknown quantity at this point 
Solved Threads: 10
Sponsor
Thinka's Avatar
Thinka Thinka is offline Offline
Posting Whiz

Re: Billiard Ball Problem

 
0
  #8
Apr 7th, 2009
Hahaha, well done mate.

Easy when you know how eh?
Never approach a computer with the words "I'll just do this quickly..."
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Geeks' Lounge Forum


Views: 991 | Replies: 7
Thread Tools Search this Thread



Tag cloud for Geeks' Lounge
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC