Find the approximation of $\sqrt{80}$ with an error $\lt 0.001$
I thought it could be good to use the function $f: ]-\infty, 81] \rightarrow \mathbb{R}$ given by $f(x) = \sqrt{81-x}$
Because this function is of class $C^{\infty}$, we can compute its Taylor expansion given by :
$$T^n_{0} = 9 - \frac{1}{2}(81)^{-1/2}(x) + \frac{1}{4}(81)^{-3/2}\frac{x^2}{2}-\frac{3}{8}(81)^{-5/2}\frac{x^3}{6}\ + \dotsm $$
By the Lagrange remainder, $\exists$ for each $n \in \mathbb{N}$, $c_n \in [0,1]$ such that :
$$R^n(1) = f^{n+1}(c) \frac{1-0^{n+1}}{(n+1)!} = f^{n+1}(c) \frac{1}{(n+1)!} \leq 9.\frac{1}{(n+1)!} \lt 10^{-3}$$
$=> n(+1)! \gt \frac{9}{10^{-3}} = 9000$
So we can take $n = 8$
The approximation seems a little bit tricky to calculate especially without a calculator. I'm wondering if everything above is correct ?
Here's what I think you meant:
Let $f(x)=\sqrt{81-x}$. Then $f'(x)=\dfrac{-1}{2\sqrt{81-x}}$ and $f''(x)=\dfrac1{4(81-x)^{3/2}}.$
The Maclaurin series (Taylor series about $x=0$) for $f(x) $ is given by
$$T(x) = 9 - \frac{1}{2}(81)^{-1/2}(x) - \frac{1}{4}(81)^{-3/2}\frac{x^2}{2}\dotsm $$
By the Lagrange remainder, for each $n \in \mathbb{N}$, there is $c_n \in [0,1]$ such that
$$R^n(1) = f^{n+1}(c) \frac{x^{n+1}}{(n+1)!} = f^{n+1}(c) \frac{1}{(n+1)!}.$$
Now for $c\in[0,1], |f(c)|\le9, |f'(c)|\le\dfrac1{2\sqrt{80}}<\dfrac1{2\sqrt{64}}=0.625,$ and $|f''(c)|\le\dfrac1{4(80)^{3/2}}<\dfrac1{4(64)^{3/2}}=\dfrac1{2048}<0.001$.
So $R^1(1)<0.001,$ so $ 9 - \frac{1}{2}(81)^{-1/2}=\dfrac{161}{18}$ is a sufficiently good approximation of $\sqrt{80}.$