Q42
MCQ2 marks, −0.5What does the following algorithm approximate? (Assume ). x = m; y = 1; While (x-y > ϵ) { x = (x+y)/2; y = m/x; } print(x);
Sign in to save attempts.
Loading…
What does the following algorithm approximate? (Assume ). x = m; y = 1; While (x-y > ϵ) { x = (x+y)/2; y = m/x; } print(x);
Loading…