Graphing functions and finding zeros