A small confectioner bought a certain number of pastries flavoured pineapple, mango and black-forest from the bakery, giving for each pastry as many rupees as there were pastry of that kind; altogether he bought 23 pastries and spent Rs.211; find the number of each kind of pastry that he bought, if mango pastry are cheaper than pineapple pastry and dearer than black-forest pastry.
Explanation:
Let p, m and b be the number of pineapple, mango and black-forest pastries respectively.
∴ p + m + b = 23 … (i)
Each pastry cost as many rupees as there were pastries of that kind.
∴ p2 + m2 + b2 = 211 … (ii)
Substituting options in (i) and (ii), we find that only option 2 satisfies both the equations
Hence, option (b).
» Your doubt will be displayed only after approval.
Help us build a Free and Comprehensive Preparation portal for various competitive exams by providing us your valuable feedback about Apti4All and how it can be improved.