题目
Problem
f(x)=2x−32+21x−3x−51−25,x=35.
The table below shows values of f(x) for some values of x, with values of f(x) given to
4 decimal places where appropriate.
| x | 1 | 2 | 3 | 4 | 5 |
|---|
| f(x) | 0.5 | | −0.2885 | | 0.5840 |
(a) Complete the table giving the values to 4 decimal places.
(2)
The equation f(x)=0 has exactly one positive root, α.
Using the values in the completed table and explaining your reasoning,
(b) determine an interval of width one that contains α.
(2)
(c) Hence use interval bisection twice to obtain an interval of width 0.25 that contains α.
(3)
Given also that the equation f(x)=0 has a negative root, β, in the interval [−1,−0.5]
(d) use linear interpolation once on this interval to find an approximation for β.
Give your answer to 3 significant figures.
(3)
题目中文翻译
f(x)=2x−32+21x−3x−51−25,x=35.
下表显示了 f(x) 在某些 x 值处的值,f(x) 的值在适当情况下保留 4 位小数。
| x | 1 | 2 | 3 | 4 | 5 |
|---|
| f(x) | 0.5 | | −0.2885 | | 0.5840 |
(a) 完成表格,值保留 4 位小数。
方程 f(x)=0 恰好有一个正根 α。
使用完成表格中的值并解释推理过程,
(b) 确定宽度为 1 且包含 α 的区间。
(c) 由此使用区间二分法两次,获得宽度为 0.25 且包含 α 的区间。
已知方程 f(x)=0 在区间 [−1,−0.5] 内有一个负根 β,
(d) 在此区间上使用一次线性插值法,求 β 的近似值。
答案保留 3 位有效数字。
解答
(a)
解法一
思路
展开
把 x=2 与 x=4 分别代入函数式,并按题意保留四位小数。完整表格也会在后续小题用于比较函数值的正负。
答题过程
展开
Substituting x=2 and x=4 gives
f(2)=−1.240078…=−1.2401
and
f(4)=0.150843…=0.1508.
Hence the completed table is
| x | 1 | 2 | 3 | 4 | 5 |
|---|
| f(x) | 0.5 | −1.2401 | −0.2885 | 0.1508 | 0.5840 |
(b)
解法一
思路
展开
表中在 [1,2] 和 [3,4] 都出现异号端点,但 x=5/3 是函数在 [1,2] 内的不连续点,因此该处的符号变化不能证明存在零点。函数在 [3,4] 连续,故应选择这一段。
答题过程
展开
Since
f(3)=−0.2885<0
and
f(4)=0.1508>0,
f changes sign on [3,4]. Also, f is continuous on this interval, so
α∈[3,4].
Although f(1) and f(2) have opposite signs, f is not continuous on [1,2] because x=5/3 lies in this interval. Therefore [1,2] cannot be used to locate the root.
(c)
解法一
思路
展开
从 (b) 的区间 [3,4] 开始连续取两次中点。第一次根据 f(3.5) 的符号保留右半段;第二次根据 f(3.75) 的符号保留左半段。
答题过程
展开
The midpoint of [3,4] is 3.5, and
f(3.5)=−0.064221…<0.
Since f(4)>0, the root lies in [3.5,4].
The midpoint of this interval is 3.75, and
f(3.75)=0.043595…>0.
Since f(3.5)<0, the required interval is
α∈[3.5,3.75].
(d)
解法一
思路
展开
计算区间两端的函数值,再用连接两端点的直线近似函数图像。按函数值从负值上升到零所占的比例,估计横坐标从 −1 向 −0.5 移动的距离。
答题过程
展开
At the endpoints,
f(−1)=−0.875
and
f(−0.5)=0.578648….
Using linear interpolation,
β≈=−1+0.578648…−(−0.875)0−(−0.875)×(−0.5−(−1))−0.699033…
Therefore, to 3 significant figures,
β≈−0.699.