Bisection Plus Program
|
01-11-2014, 06:00 PM
Post: #1
|
|||
|
|||
Bisection Plus Program
This program implements the new Bisection Plus algorithm for the HP-Prime. Click here to download a pdf file that discusses the new algorithm.
Algorithm Code: Given f(x)=0, the root-bracketing interval [A,B], and the tolerance for the root of f(x): Listing Code: EXPORT FX(X) Example Find the root for f(x)=exp(x)-3*X^2 in teh range [3,4]. 1. Type "BISPLS(3,4,1E-8) and press [ENTER]. 2. The calculator displays {3.7330790286, 8} The first number in the resulting list is the root. The second number is the iterations count. Customization Edit the code of function FX to implement the f(x) you want to work with. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Bisection Plus Program - Namir - 01-11-2014 06:00 PM
|
User(s) browsing this thread: 1 Guest(s)