Physics PDF

How many will die?

Jan
04

There are N bottles, from which one contains a lethal poison that would kill whoever drinks from it in exactly 1 week.

What is the minimum number of people you need in order to determine which bottle contains the poison? You have just one week to find out which bottle it is.

A possible solution would be to use N people. Make each person drink from a different bottle and whoever dies after a week will tell us which bottle is poisoned. Can you do better?

Here I wrote a C++ code that will tell you the minimum number of people you need for any given number of bottles. Try to get the correct answer for N bottles and test your answer with the code. As a last resort you can reverse engineer my code to get the answer.

Chess Puzzle

Dec
20

How many pieces can you fit into a chess board?

The rules are:

  • You can only have either knights, bishops, and rooks.
  • The number of knights, bishops, and rooks must be equal.
  • Each piece has to be attacked by one and only one other piece.

I was able to fit 8 of each:

 

Can you do better?