5. This question should be answered on the sheet provided.
An algorithm is described by the flow chart shown in Figure 1 below.
\begin{figure}[h]
\includegraphics[alt={},max width=\textwidth]{1e518ab0-9852-4d1d-a4c9-344a5edf9547-05_1337_937_388_404}
\captionsetup{labelformat=empty}
\caption{Fig. 1}
\end{figure}
- Complete the table on the answer sheet recording the results of each instruction as the algorithm is applied and state the final output.
- Explain what the algorithm achieves.
- Attempt to apply the algorithm again, with the initial value of \(a\), as specified in Box 2, changed to 5 . Explain what happens.
(2 mark) - Find the set of positive initial values of \(a\) for which the algorithm will work.
(2 marks)