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
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
question
Engineering, 04.07.2019 18:10
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:20
Asolid cylinder is concentric with a straight pipe. the cylinder is 0.5 m long and has an outside diameter of 8 cm. the pipe has an inside diameter of 8.5 cm. the annulus between the cylinder ad the pipe contains stationary oil. the oil has a specific gravity of 0.92 and a kinematic viscosity of 5.57 x 10-4 m2/s. most nearly, what is the force needed to move the cylinder along the pipe at a constant velocity of 1 m/s?
Answers: 3
question
Engineering, 04.07.2019 18:20
Athin walled concentric tube exchanger is used to cool engine oil from 160°c to 60°c with water that is available at 25°c acting as a coolant. the oil and water flow rates are each at 2 kg/s, and the diameter of the inner tube is 0.5 m and the corresponding value of the overall heat transfer coefficient is 250 w/m2. oc. how long must the heat exchanger be to accomplish the desired cooling? cpwater=4.187 kj/kg-candcpengine el=2.035 kj/kg·°c, oil . 120]
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, 03.12.2020 02:20
question
Mathematics, 03.12.2020 02:20
question
Mathematics, 03.12.2020 02:20
Questions on the website: 13722367