Skip to main content

Bisection: 3x - √(1+sin x)

Short answer

Bisection with a=0,b=1 (f(0)<0,f(1)>0). After 11 iterations, interval width <0.001, giving root 0.392.

Using the Bisection method, find a real root of the equation f(x) = 3x - √(1+sin x) correct up to three decimal points.

Bisection method: if f(a)·f(b) < 0, the root lies in [a, b]. Take c = (a + b)/2; if f(a)·f(c) < 0 the root is in [a, c], otherwise in [c, b]. Repeat until the interval is shorter than the required accuracy.

Step 1: Bracket the root

f(x) = 3x − √(1 + sin x) (radians) f(0) = −1 < 0 and f(1) = 3 − √1.8415 = 1.643 > 0, so a root lies in (0, 1). Take a = 0, b = 1.

Step 2: Iterations

nabc=(a+b)/2f(c)root lies in
10.00001.00000.50000.2837[a, c]
20.00000.50000.2500-0.3669[c, b]
30.25000.50000.3750-0.0439[c, b]
40.37500.50000.43750.1193[a, c]
50.37500.43750.40620.0376[a, c]
60.37500.40620.3906-0.0032[c, b]
70.39060.40620.39840.0172[a, c]
80.39060.39840.39450.0070[a, c]
90.39060.39450.39260.0019[a, c]
100.39060.39260.3916-0.0006[c, b]
110.39160.39260.39210.0006[a, c]

After 11 iterations the interval width is 0.00049 (< 0.001), so the root is fixed to 3 decimals.

Answer: root ≈ 0.392

✓ Answer checked by Claude Opus 5.5 (high effort)

All Numerical Method chapter 2 questions →