Suppose the revenue and cost function of a hypothetical firm producing y commodity is given by:
C(y) = y3-8y2+57y+2
a) Find the level of output that maximizes revenue of the firm.
b) At what level of output the average variable cost of the firm is minimized?
c) Calculate the output level that maximizes profit and maximum profit of the firm.