Try to determine a, B, C, D in the curve y = ax ^ 3 + BX ^ 2 + CX + D, such that (- 2,44) is the stationary point and (1, - 10) is the inflection point

Try to determine a, B, C, D in the curve y = ax ^ 3 + BX ^ 2 + CX + D, such that (- 2,44) is the stationary point and (1, - 10) is the inflection point

First, y is second order differentiable
y' = 3ax^2+2bx+c
y'' = 6ax+2b
According to the question:
y|x=-2 = 44
y|x=1 = -10
y'|x=-2 = 0
Y '' | x = - 10 = 0, four equations are obtained, and the parameter values are obtained by solving the equations
a = 1,b = -3,c = -24,d = 16