One way of implementing Newton's method using pseudocode, with a tolerance level of 0.001 , is shown below.
The pseudocode is incomplete, with two missing lines indicated by an empty box.
Which one of the following options would be most appropriate to fill the empty box?