AQA D1 2005 January — Question 1

Exam BoardAQA
ModuleD1 (Decision Mathematics 1)
Year2005
SessionJanuary
TopicFixed Point Iteration

1 A student is using the algorithm below.
LINE 10INPUT \(A , B\)
LINE 20LET \(C = A - B\)
LINE 30LET \(D = A + B\)
LINE 40LET \(E = ( D * D ) - ( C * C )\)
LINE 50LET \(F = E / 4\)
LINE 60PRINT \(F\)
LINE 70END
Trace the algorithm in the case where \(A = 5\) and \(B = 3\).