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, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
Apipe with an outside diameter of 15 cm is exposed to an ambient air and surrounding temperature of -20°c. the pipe has an outer surface temperature of 65°c and an emissivity of 0.85. if the rate of heat loss from the pipe surface is 0.95 kw per meter of length, the external convective heat transfer coefficient (h) is: (a) 12.5 w/m"k (b) 18.6 w/mk (c) 23.7 w/mk (d) 27.9 w/mk (e) 33.5 w/mk
Answers: 1
question
Engineering, 04.07.2019 18:10
The thermal expansion or contraction of a given metal is a function of the f a)-density b)-initial temperature c)- temperature difference d)- linear coefficient of thermal expansion e)- final temperature f)- original length
Answers: 2
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
Health, 10.11.2020 06:50
question
Mathematics, 10.11.2020 06:50
question
Chemistry, 10.11.2020 06:50
question
Mathematics, 10.11.2020 06:50
question
Social Studies, 10.11.2020 06:50