quadratic equation and its solution