find the production level that will maximize profit

Learning Goal: I’m working on a calculus question and need the explanation and answer to help me learn.

For the given cost and demand functions, find the production level that

will maximize profit. (Round your answer to the nearest whole number.)

C(q) = 670 + 4q + 0.03q2, p = 13 q/700