Given:
One bar of candy A and two bars of candy B have 779 calories.
Two bars of candy A and one bar of candy B contain 781 calories.
To find:
The caloric content of each bar.
Explanation:
Let us write the equation as follows,
[tex]\begin{gathered} A+2B=779.............(1) \\ 2A+B=781.............(2) \end{gathered}[/tex]Multiplying equation (2) by 2 we get,
[tex]4A+2B=1562..............(3)[/tex]Subtracting equation (1) from (3), we get
[tex]\begin{gathered} 3A=783 \\ A=261 \end{gathered}[/tex]Substituting A = 261 in equation (1) we get,
[tex]\begin{gathered} 261+2B=779 \\ 2B=779-261 \\ 2B=518 \\ B=259 \end{gathered}[/tex]Final answer:
The caloric content of the candy A bar is 261.
The caloric content of the candy B bar is 259.