The following function relates the price for a product to the quantity sold:
Find the price that will maximize total revenue.
So
Setting this equal to zero and solving, we have
or
Then