The function is .
The function has local maximum is and local minimum is
.
Since ,
.
Since ,
.
The function is .
Apply derivative on each side with respect to .
.
Since ,
.
Since ,
.
Solve the above equations using four variable calculator.
\,
,
and
.
Substitute the above values in the function.
\.
The cubic function is .