Add new method in QuadraticEquation