Marginal cost and marginal revenue