Q. 83 What does the following algorithm approximate ?
x = m;
y = 1;
While (x-y > ϵ)
{
x = (x+y)/2;
y = m/x;
}
print(x);
Answer: (C)
Explanation:
Q. 83 What does the following algorithm approximate ?
x = m;
y = 1;
While (x-y > ϵ)
{
x = (x+y)/2;
y = m/x;
}
print(x);
Answer: (C)
Explanation: