One day a store sold 30 sweatshirts. White ones cost $9.95 and yellow ones cost $13.50. In all $337.55 worth of sweatshirts were sold. How many of each color were sold?

How many white sweatshirts were sold___?

How many yellow sweatshirts were sold___?

w = 30 - y

9.95w + 13.50y = 337.55

Substitute 30-y for w in second equation and solve for y. Insert that value into the first equation and solve for w. Check by inserting both values into the second equation.

Thanks, I followed your formula, but can you tell me if my answer is correct? I got 19 white shirts and 11 yellow shirts?

+65

To solve this problem, we can use a system of equations. Let's assume the number of white sweatshirts sold is represented by 'W' and the number of yellow sweatshirts sold is represented by 'Y'.

According to the given information:
1) The total number of sweatshirts sold was 30, so we have the equation: W + Y = 30.
2) The total value of the sweatshirts sold was $337.55, so we have the equation: 9.95W + 13.50Y = 337.55.

To find the number of white and yellow sweatshirts sold, we need to solve these two equations simultaneously.

One way to solve this is through substitution. We can rearrange the first equation ('W + Y = 30') to solve for W in terms of Y. Let's subtract Y from both sides: W = 30 - Y.

Now we can substitute this expression for W in the second equation. Replace the value of W in the equation '9.95W + 13.50Y = 337.55' with '30 - Y'. The equation becomes: 9.95(30 - Y) + 13.50Y = 337.55.

Now, simplify and solve for Y:
298.5 - 9.95Y + 13.50Y = 337.55.
Combine like terms: 3.55Y = 39.05.
Divide both sides by 3.55 to isolate Y: Y = 39.05/3.55 ≈ 11.

Now that we know Y is approximately 11, we can substitute this value back into the first equation ('W + Y = 30') to solve for W: W + 11 = 30.
Subtract 11 from both sides: W = 30 - 11 = 19.

So, 19 white sweatshirts were sold, and 11 yellow sweatshirts were sold.