Question 2
OCR B (MEI) Further Maths June 2022 Modelling with algorithms (Y413-01)AS6 marks
On the specification
- (a)
- A1–A11 Modelling with Algorithms (Y413): Algorithms
- (b)
- A1–A11 Modelling with Algorithms (Y413): Algorithms
- (c)
- A1–A11 Modelling with Algorithms (Y413): Algorithms
- (d)
- A1–A11 Modelling with Algorithms (Y413): Algorithms
Question text
2 A process for finding a square root of the positive real number N is described by the flow chart below. START Input the values of N and A where A > 0 N + A A Let B = 2 Is No –6 –6 Let A = B –10 < B – A < 10 ? Yes Output B STOP (a) Explain why the process described by the flow chart is an example of an algorithm. [1] (b) Work through the algorithm using the inputs N = 73 and A = 8. Record the values of A and B, to at least 9 decimal places where necessary, every time they change. Give the final output correct to 7 decimal places. [3] (c) The inputs remain as N = 73 and A = 8. The box in the algorithm where B is defined needs adapting to ensure that the negative square root of 73 is the output. Explain how to adapt the box. [1] A student claims that if the statement A 2 0 is removed from the algorithm, so that there is no longer a restriction on the value of A, the algorithm can still be used to find a square root of N. (d) Explain whether the student’s claim is correct. [1]