Solves Problems Involving Quadratic Functions