One bar of candy A and two bars of candy B have 780 calories. Two bars of candy A and one bar of candy B contain 783 calories. Find the caloric content of each candy bar. Guide Candy bar A contains calories and candy bar B contains calories

Respuesta :

Let A be the number of calories that contains candy bar A and let B be the number of calories that contains candy bar B. Then, given the information on the problem, we have the following system of equations:

[tex]\begin{gathered} A+2B=780 \\ 2A+B=783 \end{gathered}[/tex]

solving the first equation for A, we get:

[tex]A=780-2B[/tex]

substituing this expression on the second equation, we get the following:

[tex]\begin{gathered} 2(780-2B)+B=783 \\ \Rightarrow1560-4B+B=783 \\ \Rightarrow-3B=7833-1560=-777 \\ \Rightarrow B=\frac{-777}{-3}=259 \\ B=259 \end{gathered}[/tex]

now that we have that B = 259, we can find the value of A using the first equation:

[tex]\begin{gathered} A=780-2(259)=780-518=262 \\ \Rightarrow A=262 \end{gathered}[/tex]

therefore, candy bar A contains 262 calories and candy bar B contains 259 calories

ACCESS MORE
EDU ACCESS
Universidad de Mexico