Question: 1 . ( 2 0 ) What is the Big Oh function for each of the following functions of n ? You answers should be

1.(20) What is the Big Oh function for each of the following functions of n? You answers should be as tight
and as simple as possible. Also use the definitions of the big oh to preve each of your answers. For example,
if t(n)=3.5n log3 n
5+ log log n +100
n, the answer should be n log3 n and one possible proof could be as
follows:
t(n)=3.5n log3 n
5+ log log n +100
n
<=3.5n(log n
5
)
3+ n +100n
=3.5n(5 log n)
3+101n
=437.5n log3 n +101n
<=437.5n log3
n +101n log3
n
=538.5n log3 n
= O(n log3 n)
where n0=1 and C =538.5. All log functions are base 2. And if you use log functions in your answers, they
should be base 2 as well.
a. t(n)= n +(n +1)++(n + n)
b. t(n)= log5 n \times log(n
10)
c. t(n)=27log3 n
d. t(n)=1+5+52+53+...+5n
e. t(n)=2n +22n +2n+1

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!