1 (b) Define \(f(x)=3x^3+x^2-x-5\). Check that \(f(1)=-2\) and \(f(2)=21\), so there is a root in \([1,2]\).
1 (c) Define \(f(x)=\cos^2x-x+6\). Check that \(f(6)>0\) and \(f(7)<0\). There is a root in \([6,7]\).
3 (b) Start with \(f(x)=3x^3+x^2-x-5\) on \([1,2]\), where \(f(1)<0\) and \(f(2)>0\). Since \(f(\frac{3}{2})>0\), the second interval is \([1,\frac{3}{2}]\). Since \(f(\frac{5}{4})>0\), the third interval is \([1,\frac{5}{4}]\). The best estimate is the midpoint \(x_c=\frac{9}{8}\).
3 (c) Start with \(f(x)=\cos ^2x+6-x\) on \([6,7]\), where \(f(6)>0\) and \(f(7)<0\). Since \(f(6.5)>0\), the second interval is \([6.5,7]\). Since \(f(6.75)>0\), the third interval is \([6.75,7]\). The best estimate is the midpoint \(x_c=6.875\).
5 (b) According to (1.1), the error after n steps is less than \((3-2)/2^{n+1}\). Ensuring that the error is less than \(10^{-10}\) requires \(\left(\frac{1}{2}\right)^{n+1}<10^{-10}\), or \(2^{n+1}>{10^{10}}\), which yields \(n>10/\log_{10}(2)-1\approx 32.2\). Therefore 33 steps are required.