Index of Quadratic Equation