Question
The bisection method is applied to compute a zero of the function in the interval . The method converges to a solution after ----- iterations.
Official answer and solution
- Official answer
- B
- From
- Official GATE 2012 answer key
Solution
Trace the iterations of the bisection method on interval [1, 9] for f(x) = x^4 - x^3 - x^2 - 4.
- Given function on :
- Iteration 1:
- Midpoint .
- .
- Since and , root lies in .
- Iteration 2:
- Midpoint .
- .
- Since and , root lies in .
- Iteration 3:
- Midpoint .
- Evaluate :
- Since exactly, the algorithm has converged to the exact root at the 3rd iteration.
Final answer
B
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2012 Computer Science and Information Technology (CS)
- Question
- 28 of 65, printed as CS Q.28
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.