public class TableExample3
extends java.lang.Object
The output is printed in a table which could be used to create graph.
Sample input:
Enter the first value for t: 1
Enter the last value for t: 4
Enter the expression for x: t^2
Enter the expression for y: t^3
If more than 2 functions are processed, it many be convenient to create arrays for y, expr, and tree and use a loop to process them.
Readers may notice that this class is a very simple variation of TableExample2.
Requires:
ExprEvaluator.java
EasyFormat.java
DoubleScanner.java
| Constructor and Description |
|---|
TableExample3()
Constructor for TableExample3.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Trivial main program that starts the application.
|