2. One kind of cake requires 200g of flour and 25g of fat, and another kind of cake requires 100g of flour and 50g of fat. Find the maximum number of cakes which can be made from 5kg of flour and 1 kg of fat assuming that there is no shortage of the other ingredients used in making the cakes.
Let there be x cakes of first kind and y cakes of the second kind.Thus, .
The given information can be represented in the table as :
Flour(g) | fat(g) | |
Cake of kind x | 200 | 25 |
Cake of kind y | 100 | 50 |
Availability | 5000 | 1000 |
Therefore,
The total number of cakes, Z, Z=X+Y
Subject to constraint,
The feasible region determined by constraints is as follows:
The corner points of the feasible region are
The value of Z at corner points is as shown :
corner points |
Z=X+Y |
|
25 | ||
|
30 | maximum |
20 0 |
minimum |
The maximum cake can be made 30 (20 of the first kind and 10 of the second kind).