48.2k views
2 votes
At a baseball game, a group of friends bought 5 bags of peanuts and 2 bottles of water for $36 before the start of the game. During the seventh inning stretch, they bought 3 bags of peanuts and 2 bottles of water for $24. Write and solve a system of linear equations that can be used to detemine the cost of 1 bag of peanuts, p, in dollars, and the cost of 1 bottle of water, w, in dollars. Cost of 1 bag of peanuts $ Cost of 1 bottle of water $

1 Answer

3 votes

Final answer:

To solve the problem, set up a system of linear equations using the given information and then solve for the variables.

Step-by-step explanation:

To solve this problem, we can set up a system of linear equations representing the two scenarios.

Let p represent the cost of 1 bag of peanuts in dollars and w represent the cost of 1 bottle of water in dollars.

From the first scenario, we have the equation:

5p + 2w = 36

From the second scenario, we have the equation:

3p + 2w = 24

We can now solve this system of equations to find the values of p and w.

User Danny Ackerman
by
8.3k points