We've C′(x)=3x2−90x+600=3(x−10)(x−20),C"(x)=6x−90
For the time being we may assume that the function C(x) is continuous at all the points in the interval [10, 20].
Now C'(x) = 3x2 - 90x + 600 = 3(x-10)(x-20), C"(x) = 6x - 90
For =C′(x)=3(x−10)(x−20)=0 ⇒x=10,20.
Note that C"(10) = - 30 < 0 and C"(20) = 30 > 0.
So C(x) is minimum at x = 20 and maximum at x = 10.
Hence C(10) = 2500, C(20) = 2000.
Therefore the person must place the order for 20 trees in order to spend the least amount which is Rs 2000.