Analysis of Quadratic Functions