Gate CS-2004 Question Paper With Solutions

Q. 83 What does the following algorithm approximate ?

Gate CS-2004 Question Paper With Solutions

x = m;
y = 1;
While (x-y > ϵ)
{
    x = (x+y)/2;
    y = m/x;
}
print(x);

Gate CS-2004 Question Paper With Solutions

Answer: (C)

Explanation:

Gate CS-2004 Question Paper With Solutions

Learn More:   Gate ME-2016-1 Question Paper With Solutions

LEAVE A REPLY

Please enter your comment!
Please enter your name here