This program demonstrates finding a the root of a function f(x) by the Secant Algorithm. How well this method works depends on how well we choose the initial two points.
To run the demo:
- Choose a function.
- Click the mouse on the graph along the x axis to pick the two starting points. For the best results, the second point should be closer to the root.
- Press the Step button to single-step the algorithm.
- Press the Run button to animate the algorithm.
The original Java Applets do not run in modern browsers, but you can download the Java code and run it locally on your desktop. Check back for JavaScript and Python versions - coming soon!