Freegraph

See:
          Description

Packages
freegraph  

 

Freegraph


Homepage: http://www.hunter-lovell.org/freegraph/

Freegraph contains classes for graphing functions, evaluating expressions, and solving equations. Freegraph is Java 1.1 compatible for use in applets without the Java plugin.

The package is built around the ExpressionStack which converts infix expressions entered free-form into an RPN stack. (Reverse Polish Notation, like HP calculators use.) The algorithm used is from: Tanenbaum, Andrew S. 1990. Structured Computer Organization, 3rd ed., New Jersey: Prentice Hall. (pp. 268-272). Once the expressions are converted to RPN it is relatively straight forward to evaluate and graph them.

The primary features of the GraphPlane and supporting classes are the ability to graph multiple functions and zoom easily using the mouse.

The Equation Solver uses Bisection and Newton's method to solve equations.


Contributors:
Aaron Patzer, ELE, Princeton University
Martin Lovell
Maintained by:
Martin Lovell
Email:
freegraph@hunter-lovell.org