GATEverse
← GATE CSE 2004

Q42

MCQ2 marks, −0.5

What does the following algorithm approximate? (Assume m>1,ϵ>0m > 1, \epsilon >0). x = m; y = 1; While (x-y > ϵ) { x = (x+y)/2; y = m/x; } print(x);

Sign in to save attempts.

Loading…