195k views
1 vote
An actor, Bob, wants to gain weight to look the part for his role as an overweight truck driver in an upcoming movie. He decides to add servings of banana splits (S) and bacon rolls (B) to his diet. Each serving of S is 1,000 calories and each serving of B is 500 calories. Bob has a history of health problems and his doctor has recommended that he needs to control his cholesterol and sugar levels in his food intake. Each serving of S contains 1 unit of cholesterol and 3 units of sugar. Each serving of B contains 4 units of cholesterol and 1 units of sugar. His doctor recommends that his cholesterol be no larger than 10 units and his sugar levels should be at least 2 units and no larger than 9 units. What should be the objective function (C) to select the optimal choice of Sand B in order for Bob to ingest as many calories as possible? A. C = 105 + 5B B. C = 1000S + 500B C. C = S+BD. None of the above

User Jeda
by
7.4k points

1 Answer

1 vote

Answer:


C = 1000S + 500B

Explanation:

Given


S = Banana\ Splits


B=Bacon\ Rolls

Reading through the question, we have:

Number of calories per serving:


S \to 1000


B \to 500

Let


x = Cholesterol


y =Sugar

So, we have:

Each serving of S


x \to 1S


y \to 3S

Each serving of B


x \to 4B


y \to 1B

Recommendation


x \to \le 10 - i.e. not more than 10 units of cholesterol


y \to \ge 2 \& \le 9 i.e. At least 2units but not more than 9 units of sugar

So, the constraints are:


S + 4B \le 10


3S + B \ge 2


3S + B \le 9

Recall that the calories per serving is:


S \to 1000


B \to 500

Hence, the objective function is:


C = 1000S + 500B

User Maxwelll
by
7.4k points