Answer: 4 batches of fudge brownies and 1 batch of peanut butter brownies were made.
Explanation:
Let x be the number of batches of fudge brownies made, and y be the number of batches of peanut butter brownies made.
From the problem, we can write two equations based on the information given:
Each batch of fudge brownies makes 1 pan: x = number of pans of fudge brownies.
Each batch of peanut butter brownies makes 9 pans: 9y = number of pans of peanut butter brownies.
We also know that the class made 5 batches in total, and ended up with 29 pans:
x + 9y = 29 (total number of pans)
We can now solve for x and y by using a system of two equations:
x + 9y = 29 (equation 1)
x + y = 5 (equation 2)
Solving for x in equation 2 and substituting into equation 1, we get:
(5 - y) + 9y = 29
Simplifying and solving for y:
8y = 24
y = 3
Substituting y = 3 into equation 2, we get:
x + 3 = 5
x = 2
Therefore, the class made 2 batches of fudge brownies (2 pans) and 1 batch of peanut butter brownies (9 pans), for a total of 29 pans. Alternatively, we can say that the class made 4 batches of fudge brownies (4 pans) and 1 batch of peanut butter brownies (9 pans) for a total of 29 pans.