Suppose a firm producing a commodity X is a price taker. The prevailing market price for X is Php. 20. The firm's cost is given by TC=(0.1q^2)+10q+50 where q=the number of X the firm chooses to produce per day.
a. How many X should the firm choose to produce in order to maximize profits?
b. Calculate the firm's maximum daily profits.