One bar of candy A and two bars of candy B have 774 calories. Two bars of candy A and one bar of candy B contains 786 calories. Find the caloric contents of each candy bar

Respuesta :

TPS00
◆ Define the variables:

Let the calorie content of Candy A = a
and the calorie content of Candy B = b

◆ Form the equations:

One bar of candy A and two bars of candy B have 774 calories. Thus:

a + 2b = 774

Two bars of candy A and one bar of candy B contains 786 calories

2a + b = 786

◆ Solve the equations:

From first equation,
a + 2b = 774
=> a = 774 - 2b

Put a in second equation
2×(774-2b) + b = 786
=> 2×774 - 2×2b + b = 786
=> 1548 - 4b + b = 786
=> -3b = 786 - 1548
=> -3b = -762
=> b = -762/(-3) = 254 calorie

◆ Find caloric content:

Caloric content of candy B = 254 calorie

Caloric content of candy A = a = 774 - 2b = 774 - 2×254 = 774 - 508 = 266 calorie