Question

you are given two eggs and an access to a 64 story building. both eggs are...

you are given two eggs and an access to a 64 story building. both eggs are identical. the aim is to fond out the highest floor from which an egg will not break when dropped out of a window from that floor.if an egg is dropped and does not break,it is undamaged and can be dropped again.however, once an egg is broken,that’s it for that egg.if an egg breaks when dropped from floor n,then it would also have broken from floor above that.if an egg survives a fall,then it will survive any fall shorter than that.the question is:what is the worst case for the number of drops it will take?

0 0
Add a comment Improve this question Transcribed image text
Answer #1

`Hey,

Note: Brother if you have any queries related the answer please do comment. I would be very happy to resolve all your queries.

We can do it by testing in sequences like

1+2+3+4.....x>=64

x*(x+1)/2>=64

x=10.825

So, n=11

Thiss means we will start dropping from 11 then jump up 10 then 9 an so on.

So,

In worst case drop count is 11

Kindly revert for any queries

Thanks.

Add a comment
Know the answer?
Add Answer to:
you are given two eggs and an access to a 64 story building. both eggs are...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Discuss the energy and conflict from this story? Identify two or three points of improvements for...

    Discuss the energy and conflict from this story? Identify two or three points of improvements for this story? Love Hurts Ben Carter is a 40-year-old male from Tampa Florida. He’s divorced with two kids. Ben has been through a lot in his life with being in love with a woman. He’s compassionate and very caring. Ben has been married twice and don’t know if a third try is worth chancing. He feels like know matter where he looks, he gets...

  • Discuss the energy and conflict from this story? Identify two or three points of improvements for...

    Discuss the energy and conflict from this story? Identify two or three points of improvements for this story? Love Hurts Ben Carter is a 40-year-old male from Tampa Florida. He’s divorced with two kids. Ben has been through a lot in his life with being in love with a woman. He’s compassionate and very caring. Ben has been married twice and don’t know if a third try is worth chancing. He feels like know matter where he looks, he gets...

  • Hi there! I need to compare two essay into 1 essay, and make it interesting and...

    Hi there! I need to compare two essay into 1 essay, and make it interesting and choose couple topics which im going to talk about in my essay FIRST ESSAY “Teaching New Worlds/New Words” bell hooks Like desire, language disrupts, refuses to be contained within boundaries. It speaks itself against our will, in words and thoughts that intrude, even violate the most private spaces of mind and body. It was in my first year of college that I read Adrienne...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT