题目
Problem
(i)
f ( x ) = x − 4 − cos ( 5 x ) \begin{align*}
&\,f(x)\\
=&\,x-4\\
&\,\hspace{2pt}-\cos(5\sqrt{x})
\end{align*} = f ( x ) x − 4 − cos ( 5 x )
x > 0 x>0 x > 0
(a) Show that the equation f ( x ) = 0 f(x) = 0 f ( x ) = 0 has a root α \alpha α in the interval [ 2.5 , 3.5 ] [2.5, 3.5] [ 2.5 , 3.5 ]
(2)
(b) Use linear interpolation once on the interval [ 2.5 , 3.5 ] [2.5, 3.5] [ 2.5 , 3.5 ] to find an approximation
to α \alpha α , giving your answer to 2 2 2 decimal places.
(2)
(ii)
g ( x ) = 1 10 x 2 − 1 2 x 2 + x − 11 \begin{align*}
&\,g(x)\\
=&\,\frac1{10}x^2-\frac1{2x^2}\\
&\,\hspace{2pt}+x-11
\end{align*} = g ( x ) 10 1 x 2 − 2 x 2 1 + x − 11
x > 0 x>0 x > 0
(a) Determine g ′ ( x ) g'(x) g ′ ( x ) .
(2)
The equation g ( x ) = 0 g(x) = 0 g ( x ) = 0 has a root β \beta β in the interval [ 6 , 7 ] [6, 7] [ 6 , 7 ]
(b) Using x 0 = 6 x_0 = 6 x 0 = 6 as a first approximation to β \beta β , apply the Newton–Raphson procedure
once to g ( x ) g(x) g ( x ) to find a second approximation to β \beta β , giving your answer to
3 3 3 decimal places.
(2)
题目中文翻译
(i)
f ( x ) = x − 4 − cos ( 5 x ) \begin{align*}
&\,f(x)\\
=&\,x-4\\
&\,\hspace{2pt}-\cos(5\sqrt{x})
\end{align*} = f ( x ) x − 4 − cos ( 5 x )
x > 0 x>0 x > 0
(a) 证明方程 f ( x ) = 0 f(x) = 0 f ( x ) = 0 在区间 [ 2.5 , 3.5 ] [2.5, 3.5] [ 2.5 , 3.5 ] 内有一个根 α \alpha α 。
(2)
(b) 在区间 [ 2.5 , 3.5 ] [2.5, 3.5] [ 2.5 , 3.5 ] 上使用一次线性插值法,求 α \alpha α 的近似值,答案保留 2 2 2 位小数。
(2)
(ii)
g ( x ) = 1 10 x 2 − 1 2 x 2 + x − 11 \begin{align*}
&\,g(x)\\
=&\,\frac1{10}x^2-\frac1{2x^2}\\
&\,\hspace{2pt}+x-11
\end{align*} = g ( x ) 10 1 x 2 − 2 x 2 1 + x − 11
x > 0 x>0 x > 0
(a) 确定 g ′ ( x ) g'(x) g ′ ( x ) 。
(2)
方程 g ( x ) = 0 g(x) = 0 g ( x ) = 0 在区间 [ 6 , 7 ] [6, 7] [ 6 , 7 ] 内有一个根 β \beta β 。
(b) 使用 x 0 = 6 x_0 = 6 x 0 = 6 作为 β \beta β 的第一个近似值,对 g ( x ) g(x) g ( x ) 应用一次 Newton–Raphson 法,求 β \beta β 的第二个近似值,答案保留 3 3 3 位小数。
(2)
解答
(i)(a)
解法一
思路
展开
分别计算区间两端的函数值。由于函数在正数范围内连续,而两端函数值异号,便可由连续函数的介值性质说明区间内存在根。
答题过程
展开
f ( 2.5 ) = 2.5 − 4 − cos ( 5 2.5 ) = − 1.44831 … < 0 , \begin{align*}
&\,f(2.5)\\
=&\,2.5-4-\cos(5\sqrt{2.5})\\
=&\,-1.44831\ldots<0,
\end{align*} = = f ( 2.5 ) 2.5 − 4 − cos ( 5 2.5 ) − 1.44831 … < 0 ,
and
f ( 3.5 ) = 3.5 − 4 − cos ( 5 3.5 ) = 0.497506 … > 0. \begin{align*}
&\,f(3.5)\\
=&\,3.5-4-\cos(5\sqrt{3.5})\\
=&\,0.497506\ldots>0.
\end{align*} = = f ( 3.5 ) 3.5 − 4 − cos ( 5 3.5 ) 0.497506 … > 0.
Since f f f is continuous for x > 0 x>0 x > 0 and f ( 2.5 ) f ( 3.5 ) < 0 f(2.5)f(3.5)<0 f ( 2.5 ) f ( 3.5 ) < 0 , there is a root
α ∈ [ 2.5 , 3.5 ] . \boxed{\alpha\in[2.5,3.5]}. α ∈ [ 2.5 , 3.5 ] .
(i)(b)
解法一
思路
展开
在两个端点对应的图像点之间作割线,并求这条割线与 x x x 轴的交点。把 (a) 的未舍入函数值代入一次线性插值公式,最后才按要求取两位小数。
答题过程
展开
For linear interpolation, the interval width is
Δ x = 3.5 − 2.5 = 1. \Delta x=3.5-2.5=1. Δ x = 3.5 − 2.5 = 1.
The numerator and denominator of the interpolation fraction are
N = 0 − f ( 2.5 ) = 1.448310 … \begin{align*}
N=&\,0-f(2.5)\\
=&\,1.448310\ldots
\end{align*} N = = 0 − f ( 2.5 ) 1.448310 …
and
D = f ( 3.5 ) − f ( 2.5 ) = 0.497506 … + 1.448310 … = 1.945816 … . \begin{align*}
&\,D\\
=&\,f(3.5)-f(2.5)\\
=&\,0.497506\ldots\\
&\,\hspace{2pt}+1.448310\ldots\\
=&\,1.945816\ldots.
\end{align*} = = = D f ( 3.5 ) − f ( 2.5 ) 0.497506 … + 1.448310 … 1.945816 … .
Using linear interpolation once,
α ≈ 2.5 + N D Δ x = 2.5 + 1.448310 … 1.945816 … = 3.244320 … . \begin{align*}
\alpha
\approx&\,2.5+\frac ND\Delta x\\
=&\,2.5+\frac{1.448310\ldots}{1.945816\ldots}\\
=&\,3.244320\ldots.
\end{align*} α ≈ = = 2.5 + D N Δ x 2.5 + 1.945816 … 1.448310 … 3.244320 … .
Therefore, to 2 decimal places,
α ≈ 3.24 . \boxed{\alpha\approx3.24}. α ≈ 3.24 .
(ii)(a)
解法一
思路
展开
先把分式项写成负指数幂,再逐项求导;常数项的导数为零。
答题过程
展开
Writing
g ( x ) = 1 10 x 2 − 1 2 x − 2 + x − 11 , \begin{align*}
&\,g(x)\\
=&\,\frac1{10}x^2-\frac12x^{-2}\\
&\,\hspace{2pt}+x-11,
\end{align*} = g ( x ) 10 1 x 2 − 2 1 x − 2 + x − 11 ,
we obtain
g ′ ( x ) = 1 5 x + ( − 1 2 ) ( − 2 ) x − 3 + 1 = 1 5 x + 1 x 3 + 1 . \begin{align*}
&\,g'(x)\\
=&\,\frac15x\\
&\,\hspace{2pt}+(-\tfrac12)(-2)x^{-3}\\
&\,\hspace{4pt}+1\\
=&\,\boxed{\frac15x+\frac1{x^3}+1}.
\end{align*} = = g ′ ( x ) 5 1 x + ( − 2 1 ) ( − 2 ) x − 3 + 1 5 1 x + x 3 1 + 1 .
(ii)(b)
解法一
思路
展开
使用 Newton–Raphson 迭代式
x n + 1 = x n − g ( x n ) g ′ ( x n ) . x_{n+1}=x_n-\frac{g(x_n)}{g'(x_n)}. x n + 1 = x n − g ′ ( x n ) g ( x n ) .
在 x 0 = 6 x_0=6 x 0 = 6 处分别计算函数值与导数值,完成一次迭代后取三位小数。
答题过程
展开
The Newton–Raphson formula is
x n + 1 = x n − g ( x n ) g ′ ( x n ) . x_{n+1}=x_n-\frac{g(x_n)}{g'(x_n)}. x n + 1 = x n − g ′ ( x n ) g ( x n ) .
At x 0 = 6 x_0=6 x 0 = 6 ,
g ( 6 ) = 1 10 ( 6 ) 2 − 1 2 ( 6 ) 2 + 6 − 11 = − 1.413888 … , \begin{align*}
&\,g(6)\\
=&\,\frac1{10}(6)^2-\frac1{2(6)^2}\\
&\,\hspace{2pt}+6-11\\
=&\,-1.413888\ldots,
\end{align*} = = g ( 6 ) 10 1 ( 6 ) 2 − 2 ( 6 ) 2 1 + 6 − 11 − 1.413888 … ,
and
g ′ ( 6 ) = 1 5 ( 6 ) + 1 6 3 + 1 = 2.204629 … . \begin{align*}
&\,g'(6)\\
=&\,\frac15(6)+\frac1{6^3}+1\\
=&\,2.204629\ldots.
\end{align*} = = g ′ ( 6 ) 5 1 ( 6 ) + 6 3 1 + 1 2.204629 … .
Therefore,
x 1 = 6 − − 1.413888 … 2.204629 … = 6.641327 … . \begin{align*}
&\,x_1\\
=&\,6-\frac{-1.413888\ldots}{2.204629\ldots}\\
=&\,6.641327\ldots.
\end{align*} = = x 1 6 − 2.204629 … − 1.413888 … 6.641327 … .
Hence the second approximation, to 3 decimal places, is
x 1 = 6.641 . \boxed{x_1=6.641}. x 1 = 6.641 .