A firm in perfectly competitive market has a cost function of the form C = 5000 10Q + Q2 . Find the profit maximizing quantity for the firm if the market price P is N100. Calculate the profit as a function Q