Im having a lot of trouble trying to figure out how to solve this problem, any help is greatly appreciated! Thanks.

The profit (measured in dollars) of a small company has been determined to be

P(x)= 20000 (x / 100 + x^2), where x is the production level (in units).

a) Compute the marginal profit

b) Find the production level xmax that leads to the maximal profit within the range

0 ≤ x ≤ 30.

c) How many dollars of profit does the company make at that production level?

d) Does your answer change if x has to be within the range 0 ≤ x ≤ 10 instead? If yes, how?