A company operates two plants which manufacture the same item and whose total cost functions are:

A company operates two plants which manufacture the same item and whose total cost functions are:

C1=10+0.02q12 and C2=4.2+0.02q22 where q1q2 are quantities produced by each plant respectively. The total quantity demanded q is related to the price p by p = 80−0.03 q.

How much should each plant produce so as to maximize company’s profits?