Exercise 8.2 Examples – 12th Class Math New Book (Bisection, Regula-Falsi and Newton–Raphson)

Solved examples of Exercise 8.2 (Bisection, Regula-Falsi and Newton–Raphson): the 3 textbook examples, Chapter 8: Numerical Solutions of Nonlinear Equations, 12th class Mathematics new book (Punjab, PECTAA 2026-27), worked step by step.
Example 3Use bisection method to find a root of $f(x)=x^3-3x-10$ within the interval $[2,3]$ accurate up to two decimal places.
Solution:
Continuity:
So $f$ is continuous on $[2,3]$.
Interval of sign change:
So $f(2)f(3)<0$, and by the Location of Root Theorem a root lies in $(2,3)$.
Apply the bisection method. Intermediate values are rounded to 4 decimal places.
Iteration 1: $a=2$, $b=3$.
Since $f(2.5)<0$ and $f(3)>0$, the root lies in $(2.5,3)$. Put $a=c=2.5$.
Iteration 2: $a=2.5$, $b=3$.
Since $f(2.5)<0$ and $f(2.75)>0$, the root lies in $(2.5,2.75)$. Put $b=c=2.75$.
Iteration 3: $a=2.5$, $b=2.75$.
Since $f(2.5)<0$ and $f(2.625)>0$, the root lies in $(2.5,2.625)$. Put $b=c=2.625$.
The same steps are repeated. The table shows all the iterations. The sign in brackets is the sign of $f$ at that value.
| No. | $a$ | $b$ | $c$ | $f(c)$ | New interval |
|---|---|---|---|---|---|
| 1 | 2 (−) | 3 (+) | 2.5 (−) | −1.875 | [2.5, 3] |
| 2 | 2.5 (−) | 3 (+) | 2.75 (+) | 2.5469 | [2.5, 2.75] |
| 3 | 2.5 (−) | 2.75 (+) | 2.625 (+) | 0.2129 | [2.5, 2.625] |
| 4 | 2.5 (−) | 2.625 (+) | 2.5625 (−) | −0.8611 | [2.5625, 2.625] |
| 5 | 2.5625 (−) | 2.625 (+) | 2.5938 (−) | −0.3308 | [2.5938, 2.625] |
| 6 | 2.5938 (−) | 2.625 (+) | 2.6094 (−) | −0.0609 | [2.6094, 2.625] |
| 7 | 2.6094 (−) | 2.625 (+) | 2.6172 (+) | 0.0755 | [2.6094, 2.6172] |
| 8 | 2.6094 (−) | 2.6172 (+) | 2.6133 (+) | 0.0072 | Stop |
In iteration 8,
So the iterations stop. The approximate root is $2.6133$.
Example 4Use Regula-Falsi method to find a root of $f(x)=x^3-3x-10$ within the interval $[2,3]$ accurate up to two decimal places.
Solution:
Continuity:
So $f$ is continuous on $[2,3]$.
Interval of sign change:
So $f(2)f(3)<0$, and by the Location of Root Theorem a root lies in $(2,3)$.
Apply the Regula-Falsi method. Intermediate values are rounded to 4 decimal places.
Iteration 1: $a=2$, $b=3$.
Since $f(2.5)<0$ and $f(3)>0$, the root lies in $(2.5,3)$. Put $a=c=2.5$.
Iteration 2: $a=2.5$, $b=3$.
Since $f(2.5949)<0$ and $f(3)>0$, the root lies in $(2.5949,3)$. Put $a=c=2.5949$.
Iteration 3: $a=2.5949$, $b=3$.
Since $f(2.6101)<0$ and $f(3)>0$, the root lies in $(2.6101,3)$. Put $a=c=2.6101$.
Iteration 4: $a=2.6101$, $b=3$.
All the iterations are in the table. The sign in brackets is the sign of $f$ at that value.
| No. | $a$ | $b$ | $c$ | $f(c)$ | New interval |
|---|---|---|---|---|---|
| 1 | 2 (−) | 3 (+) | 2.5 (−) | −1.875 | [2.5, 3] |
| 2 | 2.5 (−) | 3 (+) | 2.5949 (−) | −0.3119 | [2.5949, 3] |
| 3 | 2.5949 (−) | 3 (+) | 2.6101 (−) | −0.0487 | [2.6101, 3] |
| 4 | 2.6101 (−) | 3 (+) | 2.6125 (−) | −0.0068 | Stop |
In iteration 4,
So the iterations stop, and $2.6125$ is the approximate root.
Example 5Use Newton-Raphson method to find a root of $f(x)=x^3+2x^2+10x-20$ correct to two decimal places.
Solution:
Choose the initial approximation.
Continuity:
So $f$ is continuous on $[1,2]$, and a root lies in $(1,2)$. Take the initial guess $x_0=1.5$.
Differentiate with respect to $x$.
$f'(x)$ exists, and $f'(x)\ne0$ around $x_0=1.5$. So the method can be applied.
For 2 decimal places, stop when $|f(x_n)|<\frac{10^{-2}}2=0.005$. Intermediate values are rounded to 3 decimal places.
Take $x_0=1.5$.
Iteration 1:
Iteration 2:
Check:
So the iterations stop.