Marginal Profit & Maximum Profit Calculations

All the business calculus videos about marginal revenues and costs have been building to this point, so that we can use the derivative of the profit function to figure out exactly how many widgets your factory should make in order to maximize the amount of profit. Capitalism!