Class BisectionTest
Class BisectionTest
java.lang.Object

+rootsolvers.Bisection

+BisectionTest
 public class BisectionTest
 extends Bisection
This simple application demonstrates and tests the Bisection root finding
method in the rootsolvers package. See the code and README in the
TestApplications directory for more information.
 Version:
 1.0 033197
 Author:
 Daren Stotler
 See Also:
 Bisection

BisectionTest(double, double, double)
 This constructor sets the coefficients of the quadratic to be
solved by the Bisection class.

calcfOfX(double)
 This is the function to be solved: a simple quadratic for
demonstration purposes.

main(String[])

This application main routine sets up a member of the BisectionTest
and solves it for both of the two roots.
BisectionTest
public BisectionTest(double alpha,
double beta,
double gamma)
 This constructor sets the coefficients of the quadratic to be
solved by the Bisection class.
main
public static void main(String args[])
 This application main routine sets up a member of the BisectionTest
and solves it for both of the two roots.
calcfOfX
public double calcfOfX(double x)
 This is the function to be solved: a simple quadratic for
demonstration purposes.
 Parameters:
 x  point at which function is to be evaluated; on return, this
is the root
 Returns:
 function value for use in solution algorithm
 Overrides:
 calcfOfX in class Bisection