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 :
|Cake of kind x||200||25|
|Cake of kind y||100||50|
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 :
The maximum cake can be made 30 (20 of the first kind and 10 of the second kind).