kevincan
Mehrak’s bakery sells three types of pastries: cinnamon rolls cost $3.50 each, muffins cost $2.60 each, and apple turnovers cost $4.25 each. What is the greatest number of pastries that can be bought there for exactly $100?
A. 34
B. 35
C. 36
D. 37
E. 38
Such a wonderful question, thanks for the clue.
We need to maximise the pastries. So, if I have to maximise the units sold, then I need to go for the lesser valued pastries.
At $2.60, I can at the max get 100/2.60 = 38.46 muffins.
Ignoring the decimal part. 38*2.60 = $98.80
Remaining balance is $1.20 = 120 cents.
Can this 120 cents be compensated by either Cinnamon role or Apple turnover.
Here comes the clue part :
cinnamon role is 90 cent more than Muffins.
Apple turnover is 165 cents more than Muffins.
Can these individually or in combination cater to the balance cents.
Case 2:
If muffins sold is 37, then value used = 37*2.60 = $96.20
Remaining balance = $ 3.80 = 380 cents.
90a + 165b = 380
18a + 33b = 76. Not possible.
Case 3:
If muffins sold is 36, then the value used = 36*$2.60 = $ 93.60.
Remaining balance = $6.40 = 640 cents.
90a + 165b = 640
18a + 33b = 128. Not possible.
Case 4:
If muffins sold is 35, then the value used = 35*$2.60 = $91
Remaining balance = $9.00 = 900 cents.
90a + 165b = 900 cents.
with b =0, and a =10 we can achieve 900 cents.
Which means we are purchasing 10 cinnamon rolls.
This, new purchase of 10 cinnamon rolls, pushes the muffins by 10.
So, 25 Muffins and 10 cinnamon roll is the purchase made.
Total 35 pastries.
25*2.60 = $65
10*3.50 = $35
Totalling, $100 for 35 products.
Option B