One day a store sold 32 sweatshirts, white ones cost $11.95 and yellow ones cost $11.50. in all, $373.40 worth of sweatshirts were sold. how many of each color were sold?
32=w+y, w=32-y...
11.95w+11.5y=373.4, using w from above gives us:
11.95(32-y)+11.5y=373.4
382.4-11.95y+11.5y=373.4
-.45y=-9
y=20
So 20 yellow and (32-20) 12 white shirts were sold.
Let
W=white
Y=yellow
11.5(32-w)+11.95w=373.40
Solve for w
W=12
Y=32-12=20