Class series
java.lang.Object
|
+----series
- public class series
- extends Object
This series class is the prototype class for all series
-
n
-
-
param
-
-
term
-
-
val
-
-
first()
- Initializes the first term of series.
-
list(int)
- Lists the first m terms of series
-
nextTerm()
- Advances to the next term of series.
-
valAt(int)
- Returns the value of the indexed term in series
param
protected double param
n
protected int n
term
protected double term
val
protected double val
first
public void first()
- Initializes the first term of series.
nextTerm
public void nextTerm()
- Advances to the next term of series.
valAt
public double valAt(int m)
- Returns the value of the indexed term in series
list
public void list(int m)
- Lists the first m terms of series