Solving Quadratic Equations and Functions