CS 225 Homework 11
Due at 11:00 AM, Wednesday November 29, 2017.

Write a JavaFX application (Graph.java) that graphs functions. It will have a text field, a button labelled Graph, and a canvas. When the user enters an expression into the text box, it will be graphed on the canvas. Center the origin on the canvas and set xmin to -10, xmax to 10, ymin to -5, and ymax to 5. Draw the axes and draw hash marks on the axes at each integer (omit the hash marks on the ends).

The expressions that can be typed into the text box are exactly the ones that your parser from hw10 should parse. When you compute function values, just use the eval method, passing the appropriate x xalue as an argument.