Question 4
OCR B (MEI) Further Maths November 2021 Modelling with algorithms (Y413-01)AS7 marks
On the specification
- (a)
- A1–A11 Modelling with Algorithms (Y413): AlgorithmsNc3–c4 Numerical Methods (Y414): Numerical integration
- (b)
- Nc3–c4 Numerical Methods (Y414): Numerical integration
- (c)
- Nc3–c4 Numerical Methods (Y414): Numerical integrationNU1, U2–U8 Numerical Methods (Y414): Errors
- (d)
- A1–A11 Modelling with Algorithms (Y413): AlgorithmsNc3–c4 Numerical Methods (Y414): Numerical integration
Question text
4 The flow chart shows an algorithm that produces a numerical approximation for the integral b 3 2 y cx - 2mdx a x START Input the values of a, b and n Let h = b–a n 32 3 2 Let c = a – 2 +b – 2 a b Let d = a Let d = d + h No 3 2 Does d = b ? Let c = c + 2 d – 2 ( d ) Yes Let e = hc 2 Output e (a) Work through the algorithm using the inputs a = 1, b = 3 and n = 4. Record the exact values of c and d every time they change. [3] 33 2 (b) Find the exact value of y cx - 2mdx. [1] 1 x (c) By considering the percentage difference between the exact value of the integral given in part (b) and the approximation found in part (a), comment on the accuracy of the algorithm in this case. [2] (d) Explain how to adapt the algorithm to produce a numerical approximation for the integral b 3 2 y cx - 2 +3 dm x. [1] a x