Solves Problems Involving Functions