Search results for function

42 votes
5 answers
1
62 votes
12 answers
2
33 votes
6 answers
4
What does the following algorithm approximate? (Assume $m 1, \epsilon >0$).x = m; y = 1; While (x-y ϵ) { x = (x+y)/2; y = m/x; } print(x);$\log \, m$$m^2$$m^{\frac{1}{...
42 votes
5 answers
12
A program consists of two modules executed sequentially. Let $f_1(t)$ and $f_2(t)$ respectively denote the probability density functions of time taken to execute the two ...
0 votes
1 answer
13
29 votes
6 answers
17
What value would the following function return for the input $x=95$?Function fun (x:integer):integer; Begin If x 100 then fun = x – 10 Else fun = fun(fun (x+11)) End;$...
5 votes
2 answers
19
5 votes
3 answers
20