https://kgncsbsncd.blogspot.com/2021/07/how-to-find-maximum-value-of-quadratic.html