The profit function is given by
p(x)=41−72x−18x2
Differentiating w.r.t x, we get
p′(x)=−72−36x
Putting p′(x)=0
−72−36x=0
⇒36x=−72
⇒x=−2
∴x=−2 is a critical point.
∵p′(x)=−72−36x
Differentiating w.r.t x
p"(x)=−36
Since P"(x)<0
x=−2 is a point of maxima,
∵p(x)=41−72x−18x2
∴ Maximum profit
=p(−2)
=41−72(−2)−18(−2)2
=41+144−18(4)
=41+144−72
=113
Hence, the maximum profit is 113.