Question 5
OCR B (MEI) Further Maths November 2020 Numerical methods (Y434-01)A level34 marks
On the specification
- (a)
- Nc1-c2 Numerical Methods: Numerical differentiation
- (b)
- Ne1-e5 Numerical Methods: Solution of equations
- (c)
- Ne1-e5 Numerical Methods: Solution of equationsNc1-c2 Numerical Methods: Numerical differentiation
- (d)
- Ne1-e5 Numerical Methods: Solution of equations
- (e)
- Ne1-e5 Numerical Methods: Solution of equations
- (f)
- Ne1-e5 Numerical Methods: Solution of equations
- (g)
- Ne1-e5 Numerical Methods: Solution of equations
- (h)
- Ne1-e5 Numerical Methods: Solution of equations
- 6(a)
- Ne1-e5 Numerical Methods: Solution of equations
- 6(c)
- Ne1-e5 Numerical Methods: Solution of equations
- 6(d)
- Ne1-e5 Numerical Methods: Solution of equations
- 6(e)
- Ne1-e5 Numerical Methods: Solution of equationsU8 Numerical Methods: Improving a solution by error analysis
Question text
5 You are given that 3 x x +25 g( )x = . 2 Fig. 5.1 shows two values of x and the associated values of g( )x . x 1.45 1.55 g( )x 1.49468 1.49949 Fig. 5.1 (a) Use the central difference method to calculate an estimate of g′(1.5), giving your answer correct to 3 decimal places. [2] x 3 The equation x -8x +25 = 0 has two roots, a and b, such that a . 1 5. and b . 4 4. . 3 x x n +25 n (b) Obtain the iterative formula xn+1 = g(xn) = . [2] 2 (c) Use your answer to part (a) to explain why it is possible that the iterative formula 3 x x n +25 n xn+1 = g(xn) = may be used to find a. [1] 2 (d) Starting with x0 = 1 5. , use the iterative formula to find x1, x2, x3, x4, x5 , and x6. [2] (e) Use your answer to part (d) to state the value of a correct to 8 decimal places. [1] Starting with x0 = 4 5. the same iterative formula is used in an attempt to find b. The results are shown in Fig. 5.2. n xn 4.5 14.81826433 26.27473453 3 23.2937196 4 2.0654E+10 5 #NUM! Fig. 5.2 (f) Explain why #NUM! is displayed in the cell for x5. [1] (g) On the diagram in the Printed Answer Booklet, starting with x0 = 4 5. , illustrate how the iterative formula works to find x1 and x2. [1] (h) Determine what happens when the relaxed iteration xn+1 = (1-m)xn +mg x( n) is used to try to find b with x0 = 4 5. , in each of the following cases. • m = 0 5. • m =-0 4. [3] 3x 6 Fig. 6.1 shows the graph of y = e -11x-0 5. for -0 5. G x G 1. y 10 5 x –0.5 0 0.5 1 Fig. 6.1 3x The equation e -11x-0 5. = 0 has two roots, a and b, such that a 1 b. Dennis is going to use the method of interval bisection with starting values denoted by a and b. (a) Explain why the method of interval bisection starting with a = 0 and b = 1 may not be used to find either a or b. [1] Dennis uses the method of interval bisection starting with a = 0 and b = 0 5. to find a. Some spreadsheet output is shown in Fig. 6.2. A B C D E F 1 a f(a) b f(b) xnew f(xnew) 20 0.5 0.5 ‒1.51831 0.25 ‒1.133 30 0.5 0.25 ‒1.133 0.125 ‒0.42 40 0.5 0.125 ‒0.42001 0.0625 0.01873 50.0625 0.01873 0.125 ‒0.42001 0.09375 ‒0.2065 Fig. 6.2 Dennis states that the formula in cell B2 is = EXP(3*A1) -11A2-0 5. Dennis has made two errors. (b) Write a correct version of Dennis’s formula for cell B2. [1] The formula in cell A3, which is correct, is = IF F( 2 2 0,E2, A2) (c) Write a suitable formula for cell C3. [1] (d) Use the information in Fig. 6.2 to • find the value of a as accurately as possible, • state the maximum possible error in this estimate. [2] Liren uses a different method to find a sequence of estimates of the value of b using a spreadsheet. The output, together with some further analysis, is shown in Fig. 6.3. A B C D 1 x f( )x difference ratio 20.4 –1.5799 30.6 –1.0504 40.99671 8.4245 50.64398 –0.6809 –0.35273 60.67036 –0.4026 0.026378 –0.0748 70.70852 0.08386 0.038164 1.44682 80.70194 –0.0075 –0.00658 –0.1724 90.70248 –0.0001 0.00054 –0.082 10 0.70249 1.8E-07 8.88E-06 0.01646 Fig. 6.3 The formula in cell A4 is = (A2*B3-A3*B2)/(B3-B2) (e) State the method being used. [1] (f) Explain what the values in column D tell you about the order of convergence of this sequence of estimates. [2] Liren states that b = 0 70249. correct to 5 decimal places. (g) Determine whether Liren is correct. [2] 7 Fig. 7.1 shows two values of x and the associated values of f( )x . x 3 3.5 f( )x 6.082763 4.596194 Fig. 7.1 (a) Use the forward difference method to calculate an estimate of the gradient of f( )x at x = 3, giving your answer correct to 4 decimal places. [2] Fig. 7.2 shows some spreadsheet output with additional values of x and the associated values of f( )x . x 3 3.00001 3.0001 3.001 3.01 3.1 f( )x 6.082763 6.08274 6.082541 6.08054 6.060454 5.848846 Fig. 7.2 These values have been used to produce a sequence of estimates of the gradient of f( )x at x = 3, together with some further analysis. This is shown in the spreadsheet output in Fig. 7.3. h 0.1 0.01 0.001 0.0001 0.00001 estimate –2.339165 –2.230883 –2.220532 –2.219501 –2.219398 difference 0.1082815 0.010352 0.0010307 0.000103 ratio 0.095602 0.099567 0.0999568 Fig. 7.3 Tommy states that the differences between successive estimates is decreasing so rapidly that the order of convergence of this sequence of estimates is much faster than first order. (b) Explain whether or not Tommy is correct. [2] (c) Use extrapolation to determine the value of the gradient of f( )x at x = 3 as accurately as possible, justifying the precision quoted. [5] (d) Calculate an estimate of the absolute error when f( )3 is used as an approximation to f( .3 02). [2]