Marginal Average Profit Function Formula, So if you set the marginal profit function equal to zero and solve for Q you find 0 = $3.