Java Graphing Calculator
An interactive graphing calculator built in Java that combines console-based function input with a fully interactive GUI. This project is designed for advanced mathematical calculations and visualization.
Features
- Console Input: Enter one or multiple explicit functions directly in the console.
- Custom Math Engine: Handles advanced operations including:
- Integrals
- Derivatives
- Products
- Sums
- Custom Function Parser: Parses explicit functions for computation.
- Interactive GUI:
- Graphing with multiple functions, combined with antialiasing for a smooth look.
- Pan and zoom to explore the graph in detail.
- Labeled grid lines to keep track of points/location of the graph.
Usage
-
Run the program with an IDE or from the command line.
-
Enter your function in the console, e.g: 5+x+sin(tan(x)) This will output the following:
-
Type "graph" into the console to confirm all functions, opening the interactive GUI.
-
Use your mouse to move the graph around with left click and pan.
-
Use your mousewheel to zoom in/out, or press i to zoom in and o to zoom out.
-
Close the window to end the program.