D1 January 2013 Q1

EdexcelOld spec6 marksAlgorithms

1.

Figure 1: flow chart. Start; Input N and E; R = (N/E + E)/2; Is −10^−6 < R − E < 10^−6? No: E = R and loop back; Yes: Output R; Stop
Figure 1

Hero’s algorithm for finding a square root is described by the flow chart shown in Figure 1.

Given that \(N = 72\) and \(E = 8\),

(a) use the flow chart to complete the table in the answer book, working to at least seven decimal places when necessary. Give the final output correct to seven decimal places. (4)

The flow chart is used with \(N = 72\) and \(E = -8\),

(b) describe how this would affect the output. (1)
(c) State the value of E which cannot be used when using this flow chart. (1)