Usage example for Bus_Dekker
related to Exercise 4.3
CROSS-REFERENCE INFORMATION
This function calls:
Bus_Dekker Implements the Bus and Dekker algorithm to find a solution of f(x)=0;
This function is called by:
SOURCE CODE
0001 % Usage example for Bus_Dekker
0002 % related to Exercise 4.3
0003
0004 p = [ 1 -1 -4 4];
0005 a = -4;
0006 b = 0;
0007 tol = 0.01;
0008 max = 100;
0009 [ x,k ] = Bus_Dekker( p,a,b,tol,max )