Re: Puzzle challenge:
- Posted by "William Heimbigner" <icxcnika at hotpop.com> Aug 11, 2004
- 467 views
----- Original Message ----- From: "Patrick Barnes" <mrtrick at gmail.com> To: "Euphoria Mailing List" <EUforum at topica.com> Sent: Monday, August 09, 2004 8:24 PM Subject: Puzzle challenge: > > > It's not original, but it's an interesting puzzle: > > Part A: > You're doing tolerance testing on new high-strength crystal balls, and > want to find out how much height they can be dropped from. You've been > given two orbs to work with, which may or may not be equivalent in size or density, > and you intend to drop them from floors > of an office building with a hundred floors (starting at floor 1, just > above the ground). > > Naturally, once one of your orbs breaks, you can't reuse it. Both of > the glass orbs are manufactured to the same grade, but because they are not necessarily equal in size or density they would not necessarily break on the same floor; even if they had an equal impact tolerance, the actual impact of one could be greater than the other. > so they will both > break above a certain height, and both won't break below that. If this were the case, they would have to be manufactured to <i>different</i> grades to compensate for a higher impact velocity. > What is the minimum number of 'drop tests' you have to perform to > identify the top floor from which the glass orbs will survive a drop? > (Worst case scenario) > > Part B: > Can you generalise this to f floors and b balls? What if f = 1000000 > and b = 500? Then you would be wasting a lot of time and money paying for balls only to drop them a million times waiting for one to shatter. > -- > MrTrick > > > >