Math, asked by SunTheHelpingHand, 1 year ago

U have a riddle here:

It's a famous riddle...


Question:
Suppose you have two eggs and you want to determine from which floors in a one hundred floor building you can drop an egg such that is doesn't break. You are to determine the minimum number of attempts you need in order to find the critical floor in the worst case while using the best strategy.

If the egg doesn't break at a certain floor, it will not break at any floor below.

If the eggs break at a certain floor, it will break at any floor above.

The egg may break at the first floor.

The egg may not break at the last floor.

So...find the least number of trials needed​

Answers

Answered by Anonymous
2

i think this ans is correct

Drop first egg from floors 14, 27, 39, 50, 60, 69, 78, 85, 91, 96, 100

Say if first egg breaks on 14th floor, you can drop second egg starting from 1 to floor 12 which makes 1 + 12 = 13 tries.

if first egg does not drop on 14th, try dropping that egg from 27th floor, if it breaks. Start from fllor 15 to floor 26 and try breaking the second egg. Max tries in this case are 2 + 11 = 13 tries

Say first egg breaks at 100. So tries for first and second eggs are 11 + 2 = 13 tries.

so final answer is max 13 tries

PLS MAKE BRAINLEAST AND FOOLW


SunTheHelpingHand: Steps are right
SunTheHelpingHand: Right steps
SunTheHelpingHand: But the final answer is 14
SunTheHelpingHand: U didn't counted the first trial..But u explained it in the steps
SunTheHelpingHand: Great yaar
SunTheHelpingHand: ☺️♥️
Anonymous: oh soo soory
Answered by upsales
5

Answer:

I hope it is helpful ...

please mark as brainiest ☺☺

Attachments:
Similar questions