From everyday questions to specialized queries, IDNLearn.com has the answers. Join our Q&A platform to receive prompt and accurate responses from knowledgeable professionals in various fields.
ANSWER:
Candy bar A: 264 calories
Candy bar B: 259 calories
STEP-BY-STEP EXPLANATION:
Let x be the number of calories in candy bar A and y be the number of calories in candy bar B.
We can establish the following system of equations according to the data of the statement:
[tex]\begin{gathered} x+2y=782\rightarrow x=782-2y \\ \\ 2x+y=787 \end{gathered}[/tex]We substitute the first equation into the second and solve for y, just like this:
[tex]\begin{gathered} 2\cdot(782-2y)+y=787 \\ \\ 1564-4y+y=787 \\ \\ -3y=787-1564 \\ \\ y=\frac{-777}{-3} \\ \\ y=259 \\ \\ \text{ Now, for x:} \\ \\ x=782-2y \\ \\ x=782-2\cdot259 \\ \\ x=782-518 \\ \\ x=264 \end{gathered}[/tex]Therefore:
Candy bar A contains 264 calories and candy bar B contains 259 calories