impl find the max curature of the quadratic curve