Answer:
2x + 12y + 43 ≥ 40
17x + 12y + 8z ≥ 20
14x + 6y + z ≤ 50
x ≥ 0
y ≥ 0
z ≥ 0
Step-by-step explanation:
given:
Cost Eggs = $2
Cost of edema = $5
cost of elbow Macaroni = $3
Lets eggs = x,
edamame = y
elbow macaroni = z
TC = 2x+5y+3z
Therefore;
2x + 12y + 43 ≥ 40
17x + 12y + 8z ≥ 20
14x + 6y + z ≤ 50
x ≥ 0
y ≥ 0
z ≥ 0
the first objective is to make sure the total cost is subject to the required nutritional requirements.
So the total cost function (TC) is denoted by the number of servings multiplied for each costs. Eggs cost $2, edamame $5, and macaroni $3.
The problem subjects that each meal contains at least 40g of carbohydrates (this is the condition).
to get this we need to add what each meal component adds to the total, eggs add 2g of carbs, edamame 12g, and macaroni 43g.
Same should be done for protein, we require at least 20 grams of protein, Eggs add 17g, edamame adds 12g, and macaroni adds 8g.
and lastly we don't want more than 50 grams of fat, Eggs add 14g, edamame add 6g and macaroni 1g.