English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

I have to use the secant method to calculate an approximation value for
f(x)=0 where f(x)=exp(x) - 0.01 with an accuracy of 0.005 start with X0=4 & h=0.1 and only use the basic operations (+,-,*,/) in my calculation.the variable h helps me to find X1?how?

2006-10-22 13:34:12 · 2 answers · asked by bonato 1 in Science & Mathematics Mathematics

2 answers

The formula for the secant method is

x_n+1 = x_n - f(x_n)(x_n - x_n-1)/[f(x_n)-f(x_n-1)].

It needs two starting iterates, which are, typically, chosen arbitrarily. You could choose X1 = X0 + h, for instance. However, there is no set rule for choosing X1. In fact, every presentation I've ever seen of the secant method has used two starting iterates x0 and x1, rather than a single iterate x0 and an h. Also, with this choice of f(x), you'd still have to perform exponentiation to evaluate f at each new iterate.

2006-10-22 13:54:16 · answer #1 · answered by James L 5 · 0 0

Is that even math??

2016-05-21 23:36:13 · answer #2 · answered by Anonymous · 0 0

fedest.com, questions and answers