https://geochum.github.io/posts/cubic_function_integral_extrema/
Evaluating a Cubic Function with Specific Extrema - George Chumbipuma