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 $x_b - (f_b-f(x_a)) f_b / (x_b-x_a)$ $x_a - (f_a-f(x_a)) f_a / (x_b-x_a)$ $x_b - (x_b-x_a) f_b / (f_b-f(x_a)) $ $x_a - (x_b-x_a) f_a / (f_b-f(x_a)) $ Numerical Methods gatecse-2015-set2 numerical-methods secant-method + – go_editor 7.2k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
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 Arjun answered Feb 20, 2015 Arjun comment Share Follow See all 10 Comments 10 10 Comments reply Show 7 previous comments jiminpark commented Dec 15, 2021 reply Follow flag Ok @babe :) , … wait that sounds weird! 1 1 replyShare LRU commented Dec 15, 2021 reply Follow flag This is a question from numerical methods and in no possible ways is going to come in the examination. So, do not worry. 0 0 replyShare js__ commented Jan 14 reply Follow flag lol 0 0 replyShare Please log in or register to add a comment.
2 2 votes I think it can either c or d according to the algorithm naresh1845 answered Feb 13, 2015 naresh1845 comment Share Follow 0 reply Please log in or register to add a comment.