• edited by
7,240 views
8 8 votes

The secant method is used to find the root of an equation $f(x)=0$. It is started from two distinct estimates $x_a$ and $x_b$ for the root. It is an iterative procedure involving linear interpolation to a root. The iteration stops if $f(x_b)$ is very small and then $x_b$ is the solution. The procedure is given below. Observe that there is an expression which is missing and is marked by ?. Which is the suitable expression that is to be put in place of ? so that it follows all steps of the secant method?

$\textbf{Secant}$

Initialize $x_a, x_b, \varepsilon, N$ // $\varepsilon$ = convergence integer
// N = maximum no. iterations
$f_b=f(x_b)$
i=0
while ( i < N and $|f_b| > \varepsilon)$ do
     i = i+1 // update counter
     $x_t$ =? //missing expression for intermediate value
     $x_a =x_b$ //reset $x_a$
     $x_b = x_t$  // reset $x_b$
     $f_b = f(x_b)$  //function value at new $x_b$
end while
if $|f_b| > \varepsilon$ then // loop is terminated with i=N
     write "Non-convergence"
else
     write "return $x_b$"
end if

  1. $x_b - (f_b-f(x_a)) f_b / (x_b-x_a)$
  2. $x_a - (f_a-f(x_a)) f_a / (x_b-x_a)$
  3. $x_b - (x_b-x_a) f_b / (f_b-f(x_a)) $
  4. $x_a - (x_b-x_a) f_a / (f_b-f(x_a)) $

2 Answers

5 5 votes

C. 

Also, $x_b - (x_b-x_a) f_b / (f_b-f(x_a)) $ = $(x_a f_b - x_b f(x_a)) / (f_b-f(x_a)) $

Ref: https://www.math.ohiou.edu/courses/math3600/lecture6.pdf

Answer:
Position:
Show:

Related questions

13 13 votes
3 3 answers
11.0k
11.0k views
go_editor asked Feb 16, 2015
11,023 views
The velocity $v$ (in kilometer/minute) of a motorbike which starts form rest, is given at fixed intervals of time $t$ (in minutes) as follows:t2468101214161820v1018252932...
2 2 votes
0 0 answers
2.3k
2.3k views
Ishrat Jahan asked Nov 2, 2014
2,319 views
Consider the following iterative root finding methods and convergence properties: Iterative root finding methods Convergence propertiesQ.False PositionI.Order of converge...
7 7 votes
1 answers 1 answer
3.5k
3.5k views
go_editor asked Sep 28, 2014
3,484 views
In the Newton-Raphson method, an initial guess of $x_0= 2 $ is made and the sequence $x_0,x_1,x_2\:\dots$ is obtained for the function $$0.75x^3-2x^2-2x+4=0$$Consider the...
5 5 votes
1 1 answer
4.9k
4.9k views
go_editor asked Sep 28, 2014
4,867 views
With respect to the numerical evaluation of the definite integral, $K = \int \limits_a^b \:x^2 \:dx$, where $a$ and $b$ are given, which of the following statements is/ar...