Quadratic-formula The quadratic formula calculates and returns the roots of a given quadratic expression.