Must show all work For each of the following functions, determine whether or not
ID: 2987087 • Letter: M
Question
Must show all work
Explanation / Answer
1) A) f(x) = 3x+22
O(f(x)) = O(3x+22)
= 3*O(x)
f(x) is O(x)
f(x) is not O(x^2)
B) f(x) = x^2 -x +100
O(f(x)) = O(x^2 - x+100)
= O(x^2) - O(x) + O(constant)
O(f(x)) = O(x^2)
f(x) is O(x^2)
C) f(x) = 2xlogx
O(f(x)) = 2*O(xlogx)
f(x) is O(xlogx)
D) f(x) = x^4 /200
O(x^4)
E) f(x) = 3^x
f(x) is not O(x^2)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.