math.
posted by Jennifer .
A theater purchases $500 worth of Sticky Bears and chocolate bombs. Each bag of Sticky Bears costs $1.50 and each bag of Chocolate Bombs costs $1.00. If a total of 400 bags of candy were purchased, how many bags of Chocolate Bombs did the theater buy?

Let
S=number of bags of sticky bears, then
400S=number of bags of chocolate bombs.
From total cost = $500, we get
1.5S+1.0(400S)=500
Solve for S
0.5S = 500400
S=200
Quick way:
each bag of sticky bears costs 1.50
each bag of chocolate costs 1.00
Average cost = $500/400=1.25
which is smack in between 1.00 and 1.50.
So equal number of bags of each, namely 200.