To solve for the answers, we will use the profit function
Part (a): Find the number of hats to produce and sell for a profit of $8000.
We set the profit function equal to $8000:
Now, solve for
-
Add 2000 to both sides:
-
Divide by 20:
Therefore, producing and selling 500 hats will give a profit of $8000.
Part (b): Find the number of hats to produce and sell to avoid a loss.
To avoid a loss, we need the profit to be greater than or equal to 0:
Now, solve for
-
Add 2000 to both sides:
-
Divide by 20:
Therefore, to avoid a loss, 100 hats must be produced and sold.
Final Answers:
- (a) 500 hats
- (b) 100 hats