1. WMA13/01 October 2023 · Q1
Show worked solution
- Part (a)
The function $f(x)=x^2-5x+e^x$ is continuous on $[1,2]$.
\[f(1)=e-4=-1.2817\ldots\lt 0,\qquad f(2)=e^2-6=1.3891\ldots\gt 0.\]Since the endpoint values have opposite signs, there is a root strictly between 1 and 2.
\[\boxed{1\lt \alpha\lt 2}\] - Part (b)
Using the given iteration with $x_1=1$,
\[x_2=\sqrt{5-e}=1.5105357\ldots.\]Continue with unrounded values:
\[x_3=1.7388278\ldots,\quad x_4=1.7330522\ldots,\quad x_5=1.7341754\ldots,\quad x_6=1.7339613\ldots.\]Subsequent iterates are $1.7340023\ldots,1.7339945\ldots,1.7339960\ldots$, which settle to $1.7339957\ldots$. Thus (i) $x_2=1.5105$ and (ii) $\alpha=1.7340$, each to 4 decimal places.
\[\boxed{x_2=1.5105,\qquad\alpha=1.7340}\]
(a) $1\lt \alpha\lt 2$ (b) $x_2=1.5105,\qquad\alpha=1.7340$
