25.6k views
0 votes
John wishes to choose a combination of two types of cereals for breakfast - Cereal A and Cereal B. A small box (one serving) of Cereal A costs $0.50 and contains 10 units of vitamins, 5 units of minerals, and 15 calories. A small box (one serving) of Cereal B costs $0.40 and contains 5 units of vitamins, 10 units of minerals, and 15 calories. John wants to buy enough boxes to have at least 500 units of vitamins, 600 units of minerals, and 1200 calories. How many boxes of each cereal should he buy to minimize his cost?

User Sabumnim
by
8.5k points

1 Answer

5 votes

Let's assume that John buys x boxes of Cereal A and y boxes of Cereal B. Then, we can write the following system of inequalities based on the nutrient and calorie requirements:

10x + 5y ≥ 500 (minimum 500 units of vitamins)

5x + 10y ≥ 600 (minimum 600 units of minerals)

15x + 15y ≥ 1200 (minimum 1200 calories)

We want to minimize the cost, which is given by:

0.5x + 0.4y

This is a linear programming problem, which we can solve using a graphical method. First, we can rewrite the inequalities as equations:

10x + 5y = 500

5x + 10y = 600

15x + 15y = 1200

Then, we can plot these lines on a graph and shade the feasible region (i.e., the region that satisfies all three inequalities). The feasible region is the area below the lines and to the right of the y-axis.

Next, we can calculate the value of the cost function at each corner point of the feasible region:

Corner point A: (20, 40) -> Cost = 20

Corner point B: (40, 25) -> Cost = 25

Corner point C: (60, 0) -> Cost = 30

Therefore, the minimum cost is $20, which occurs when John buys 20 boxes of Cereal A and 40 boxes of Cereal B.

User Fn Control Option
by
8.1k points