The marginal cost function of a product, in dollars per unit, is
C′(q)=q2−40q+700. If fixed costs are $500, find the total cost to
produce 40 items.

Round your answer to the nearest integer.

The