To formulate a system of equations for this problem, we can define the following variables:
- Let \( x \) be the number of rolls each class buys.
- Let \( F \) be the total cost for the freshmen.
- Let \( S \) be the total cost for the sophomores.
From the problem, we know:
-
The freshmen's total cost can be expressed as: \[ F = 458 + 46x \]
-
The sophomores' total cost can be expressed as: \[ S = 453 + 47x \]
Since the total costs for both classes are equal, we can set the two equations equal to each other: \[ 458 + 46x = 453 + 47x \]
Now we will solve this equation for \( x \).
Step 1: Simplify and solve for \( x \)
- Move all terms involving \( x \) to one side of the equation and constant terms to the other side: \[ 458 - 453 = 47x - 46x \] \[ 5 = x \]
So, the freshmen and sophomores will each buy \( x = 5 \) rolls.
Step 2: Calculate the total cost for each class
Using \( x = 5 \):
-
For the freshmen: \[ F = 458 + 46 \times 5 = 458 + 230 = 688 \]
-
For the sophomores: \[ S = 453 + 47 \times 5 = 453 + 235 = 688 \]
Both classes will spend the same amount.
Final Answers:
By buying 5 rolls, the two classes will each spend $688 in total.