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
Aflywheel accelerates for 5 seconds at 2 rad/s2 from a speed of 20 rpm. determine the total number of revolutions of the flywheel during the period of its acceleration. a.5.65 b.8.43 c. 723 d.6.86
Answers: 2
question
Engineering, 04.07.2019 18:10
Aplate clutch has a single pair of mating friction surfaces 250-mm od by 175-mm id. the mean value of the coefficient of friction is 0.30, and the actuating force is 4 kn. a) find the maximum pressure and the torque capacity using the uniform-wear model. b) find the maximum pressure and the torque capacity using the uniform-pressure model.
Answers: 3
question
Engineering, 04.07.2019 18:10
Water at the rate of 1 kg/s is forced through a tube with a 2.5 cm inner diameter. the inlet water temperature is 15°c, and the outlet water temperature is 50°c. the tube wall temperature is 14°c higher than the local water temperature all along the length of the tube. what is the length of the tube?
Answers: 3
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12°, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
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
Questions on the website: 13722363