subject
Engineering, 19.09.2019 17:10 maddylosin1032

Acertain function f consists of two steps, step1 and step2. all f does is execute step1 then execute step2. as a function of an input parameter n, step1 takes running time t1(n) and step2 takes running time t2(n). describe the running time of f as a function of t1(n) and t2(n). for which of the following values of t1(n) and t2(n) is the big-oh running time of function f stated the closest possible approximation to the true running time of f?
(a) t1(n) is n2, t2(n) is n3: o(n2)
(b) t1(n) is n3, t2(n) is 2n: o(n32n)
(c) t1(n) is n, t2(n) is n log2n: o(n2 log n)
(d) t1(n) is n3, t2(n) is 2n: o(2n)

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 14:10
Explain the difference laminar and turbulent flow. explain it with the shear stress and the velocity profiles.
Answers: 1
question
Engineering, 03.07.2019 14:10
The y form of iron is known as: a) ferrite b) cementite c) perlite d) austenite
Answers: 3
question
Engineering, 04.07.2019 18:10
Assuming compressible flow of air and that the measurements are done at flagstaff a pitot static tube that gives the difference of total and static pressure measures 0.35 m of mercury. what is the velocity of air? assume the temperature to be 300k. (submit your excel or matlab calculation sheet)
Answers: 1
question
Engineering, 04.07.2019 18:20
Inspection for bearing condition will include: (clo4) a)-color b)-smell c)-size d)-none of the above
Answers: 1
You know the right answer?
Acertain function f consists of two steps, step1 and step2. all f does is execute step1 then execute...
Questions
question
Mathematics, 27.05.2021 01:00
question
Mathematics, 27.05.2021 01:00
question
Mathematics, 27.05.2021 01:00
question
Mathematics, 27.05.2021 01:00
Questions on the website: 13722360