You spend $28 on ingredients to make cookies. You charge $4 per container of cookies. How many containers do you need to sell to earn $20 in profit?

1 answer

To earn a profit of $20, you need to cover the cost of ingredients and achieve a profit margin of $20.
Let's calculate the profit margin per container:
Profit per container = Revenue per container - Cost per container
Since you charge $4 per container and spending $28 on ingredients, the cost per container is $28 / (number of containers).
Since we want a profit of $20, the equation becomes:
$20 = $4 * (number of containers) - $28/(number of containers)
On rearranging the equation, we get:
$20 + $28/(number of containers) = $4 * (number of containers)
Multiplying both sides by the number of containers, we have:
$20 * (number of containers) + $28 = $4 * (number of containers)^2
Rearranging the equation, we get:
$4 * (number of containers)^2 - $20 * (number of containers) - $28 = 0
This is a quadratic equation, and we can solve it by factoring, completing the square, or using the quadratic formula. However, it is evident from the equation that the number of containers must be a positive whole number.
So, by testing different positive whole number values for the number of containers, we can find the value that satisfies the equation:
Number of containers = 10
Therefore, you need to sell 10 containers of cookies to earn a profit of $20.