Respuesta :
Answer:
Lets denote
1. eggs as x,
2. edamame as y
3. elbow macaroni as z
The problem then is
min TC=2x+5y+3z
subject to
[tex]2x+12y+43z \geq40\\17x+12y+8z\geq20\\14x+6y+z\leq50\\x\geq0\\y\geq0\\z\geq0[/tex]
Step-by-step explanation:
First the objective is to minimize total cost subject to some nutritional requirements.
So the total cost function (TC) is the number of servings multiplied for the corresponding costs. Eggs cost 2, edamame 5, and macaroni 3
Next we have to meet the nutritional requirements, the first of the restrictions is the protein restriction. The problem requires that the meal contains at least 40g of carbohydrates (that is why the restriction is [tex]\geq 40[/tex]). Then we add how much each meal component adds to the total, eggs add 2g of carbs, edamame 12g, and macaroni 43g.
Same for protein, we need at least 20 grams of protein ([tex]\geq 20[/tex]). Eggs add 17g, edamame adds 12g, and macaroni adds 8g.
Finally we don't want more than 50 grams of fat ([tex]\leq50[/tex]). Eggs add 14g, edamame add 6g and macaroni 1g.
Finally, we add the non negativity restrictions-> we cannot buy negative quantities of these goods, but we allow for zero.