Question 2

Edexcel Further Maths June 2019 AS Further Decision Maths 1AS7 marks

On the specification

DM1 1.1 General ideas of algorithms
Question text

2. The following algorithm produces a numerical approximation for the integral B 4 I = ∫ x dx A Step 1 Start Step 2 Input the values of A, B and N Step 3 Let H = (B – A) / N Step 4 Let C = H / 2 Step 5 Let D = 0 44 Step 6 Let D = D + A + B Step 7 Let E = A Step 8 Let E = E + H Step 9 If E = B go to Step 12 4 Step 10 Let D = D + 2 × E Step 11 Go to Step 8 Step 12 Let F = C × D Step 13 Output F Step 14 Stop For the case when A = 1, B = 3 and N = 4, (a) (i) complete the table in the answer book to show the results obtained at each step of the algorithm. (ii) State the final output. (4) (b) Calculate, to 3 significant figures, the percentage error between the exact value of I and the value obtained from using the approximation to I in this case. (3) (Total for Question 2 is 7 marks)