whitejm
Civil/Environmental
- Jul 30, 2011
- 4
I need to write a function trisection that finds the roots of a polynomial by breaking the interpolation interval {[a,b] into 3 on each iteration. There are four input parameters, a row matrix with the coefficients of the polynomial, a, b, and the desired error. There are two output parameters, root: the root of the equation and n, the number of iterations. Any help is appreciated.