Answer: 12 of the 40 televisions were model p televisions
Step-by-step explanation:
Revenue = price × quantity
Let x represent the number of the model p TV sold
The number of model q TV sold would be 40 - x
Revenue from model p TV sold is
px
Revenue from model q TV sold is
(40 - x)q
Total revenue = px + (40 - x)q
The formula for determining average price is expressed as
Average price = total revenue/total number of TV sold.
The average (arithmetic mean) selling price of the 40 televisions was $141. This means that
141 = (px + (40 - x)q)/40
141 × 40 = px + (40 - x)q
5640 = px + (40 - x)q
p = q - 30
5640 = x(q - 30) + (40 - x)q
5640 = xq - 30x + 40q - xq
5640 = - 30x + 40q
If q = 120, then
5640 = - 30x + 40 × 120
5640 = - 30x + 4800
5640 - 4800 = - 30x
840 = - 30x
x = 840/- 30 = - 28
since x cannot be negative, then q is not equal to 120
Again,
5640 = px + (40 - x)q
If q = 30 + p, then
5640 = px + (40 - x)(30 + p)
5640 = px + 1200 + 40p - 30x - px
5640 = 1200 + 40p - 30x
Therefore,
If p = 120, then
5640 = 1200 + 40 × 120 - 30x
5640 = 6000 - 30x
30x = 6000 - 5640
30x = 360
x = 360/30
x = 12