Line three is the correct answer
the correct answer is the blues
Step-by-step explanation:
You have 120 bottles of Cola and 120 bottles of Sprite.
You can exchange 3 empty Cola bottles for a new bottle of Sprite.
You can exchange 4 empty Sprite bottles for a new bottle of Cola.
You can borrow empty bottles, but must return them in the end.
What is the maximal number of bottles of drink that you can drink? Prove the optimality of your result.
As this is a puzzle, please give short and clever answers rather than tedious bruteforce calculations.
Answer:
27 by 27
Step-by-step explanation:
Let the sides be x and y. The problem is essentially asking:
Given 2(x+y)=108, maximize xy.
We know that x+y=54. By the Arithmetic Mean - Geometric Mean inequality, we can see that
. Substituting in x+y=54, we get
, meaning that
. Equality will only be obtained when x=y (in this case it will generate the maximum for xy), so setting x = y, we can see that x = y = 27. Hence, 27 is the answer you are looking for.