Let x be the number of cakes of one kind and y be the number of cakes of other kind.
To maximize: Z = (x + y)
Subject to constraints:
Corner Points |
Value of Z |
O(0, 0) |
0 |
A(0, 20) |
20 |
B(20, 10) |
30 |
C(25, 0) |
25 |
Clearly, maximum value of Z is 30.
Hence the no. of cake of one kind = 20, and, the no. of cake of another kind = 10.