A nutritionist is designing a diet plan using two food types, Food A and Food B. The table below shows the amount of protein and carbohydrates, in grams, per gram of each food type:
| Food Type | Protein (g) | Carbohydrates (g) |
|---|---|---|
| Food A | ||
| Food B |
The nutritionist wants to combine the two foods to obtain a mixture that has a total mass of grams and contains exactly grams of protein. How many grams of carbohydrates will be in this mixture?
Answer: 17 grams
Answer
The total amount of carbohydrates in the mixture is 17 grams.
To find the total amount of carbohydrates in the mixture, we first define as the mass in grams of Food A and as the mass in grams of Food B. Since the total mass of the mixture is grams, we write the equation . Since the total protein in the mixture must be grams, and Food A and Food B contain grams and grams of protein per gram respectively, we write the equation . Multiplying the first equation by yields , and multiplying the second equation by yields . Subtracting the first new equation from the second gives , which simplifies to . Substituting this back into the first equation gives , so . Using these values, the total amount of carbohydrates is grams.
Step-by-Step Solution
Key Concept
Systems of Linear Equations