SOLUTION: A dietitian is planning a meal of beef, rice, and peas for a patient. The patient needs the meal to contain 93.3 grams of carbohydrate, 22.3 grams of protein and 7.9 grams of fat.

Algebra ->  Coordinate Systems and Linear Equations -> SOLUTION: A dietitian is planning a meal of beef, rice, and peas for a patient. The patient needs the meal to contain 93.3 grams of carbohydrate, 22.3 grams of protein and 7.9 grams of fat.       Log On


   



Question 1196646: A dietitian is planning a meal of beef, rice, and peas for a patient. The patient needs the meal to contain 93.3 grams of carbohydrate, 22.3 grams of protein and 7.9 grams of fat. The table below shows the number of grams of carbohydrate, protein, and fat in 100 grams of each food. (Note, the total is not 100 grams due to the water and fiber content of the food.) How much of each food should be used so that the patient gets the needed nutrients?
Carbohydrate Protein Fat
Beef 1 22 12
Rice 25 2 0
Peas. 12 3 1
I took that and made the equations of
1b+25r+12p= 93.3
22b+2r+3p= 22.3
12b+r+1p=7.9
But now im not sure what I am to do I believe I did the Gauss illumination correct but it seems to be wrong here's what I got.
b= 0.5
r=2.8
p=1.9
could someone explain where I went wrong?

Found 2 solutions by ikleyn, MathLover1:
Answer by ikleyn(52788) About Me  (Show Source):
You can put this solution on YOUR website!
.
In your system of equations, 1st equation and 2nd equation are correct,
while 3rd equation is incorrect.

The correct form for the 3rd equation is
12*b + 0*r + 1*p = 7.9


Then the values listed in your post form the CORRECT answer/solution to the corrected system of equations.

At this point, I stop my explanations.


///////////////


It is also interesting to me, how did you manage to get the correct solution,
working with incorrect system of equations ?



Answer by MathLover1(20850) About Me  (Show Source):
You can put this solution on YOUR website!

you made mistake here:+12b%2Br%2B1p=7.9
given table says: beef=12,rise=0, and peas=1
so, your equation is: 12b%2B0%2Ar%2B1p=7.9=>12b%2B1p=7.9

then system is
1b%2B25r%2B12p=+93.3
22b%2B2r%2B3p=+22.3
12b%2B1p=7.9

and solution will be: b=0.5,r=2.8, p=1.9