Let the number of packets of food P be
We have to tabulate the given data as,
Resources | FoodsP | FoodsQ | Requirement |
Calcium | | | At least |
Iron | | | At least |
Cholesterol | | | At most |
Vitamin A | | |
The equation for calcium is given as,
The equation for iron is given as,
The equation for cholesterol is given as,
We need to maximize the amount of vitamin A so we can use function which will
All constraints are given as,
| | |
| | |
| | |
| | |
| | |
| | |
Plot the graph using equations of constraint.
Substitute the value of
Corner points | Value of Z |
| |
| |
| |
Thus, the amount of vitamin A will be maximum if