HELPPPPPPPPPP!!!!!!!! 15 points!


daniel bought hamburgers and fries for his classmates. the hamburgers costed 1.49 each and a bag of fries cost 1.19. ben spent a total of 50.93. the number of hamburgers was five less than twice the amount of fries, how many hamburgers and fries did he buy

Respuesta :

Number of hamburgers bought is 23 and number of bags of fries bought is 14

Solution:

Let "h" be the number of hamburgers bought

Let "f" be the number of bags of fries bought

Cost of one hamburger = $ 1.49

Cost of one bag of fries = $ 1.19

Given that Ben spent a total of 50.93

Thus we can frame a equation as:

number of hamburgers bought x Cost of one hamburger + number of bags of fries bought x Cost of one bag of fries = $ 50.93

[tex]h \times 1.49 + f \times 1.19 = 50.93[/tex]

1.49h + 1.19f = 50.93 ------ eqn 1

Also given that the number of hamburgers was five less than twice the amount of fries

number of hamburgers bought = 2(number of fries) - 5

h = 2f - 5  ---------- eqn 2

Let us solve eqn 1 and eqn 2 to find values of "h" and "f"

Substitute eqn 2 in eqn 1

1.49(2f - 5) + 1.19f = 50.93

2.98f - 7.45 + 1.19f = 50.93

4.17f = 50.93 + 7.45

4.17f = 58.38

[tex]f = \frac{58.38}{4.17}[/tex]

f = 14

Substitute f = 14 in eqn 2

h = 2(14) - 5

h = 28 - 5 = 23

h = 23

Summarizing the results:

number of hamburgers bought = h = 23

number of bags of fries bought = f = 14

ACCESS MORE