Question

Given below list of functions: f1 = (4/3)n, f2 = 22(n+1), f3 = 2n, f4 =...

Given below list of functions:

f1 = (4/3)n,

f2 = 22(n+1),

f3 = 2n,

f4 = 4242log2n,

f5 = n2,

f6 = 4log2n,

f7 = 22n,

f8 = (1/2)n

Order them in ascending order so that fi = Ω(fi+1)

Homework Answers

Answer #1

To arrange a function in ascending order we take higher value of n and see which function is giving highest value

here clearly f8 is smallest because it is tending to 0 as n is increasing

also f1<f2 because 4/3 = 1.33 but f2 is 4^(n+1)

also f2>f3 because f2 = 4^(n+1) and f3 is 2^n

also f1<f3

now f4 is 42^42(logn) this is a function of O(logn) because 42^42 is constant

so if we take very high value of n then

42^42*logn < (4/3)^n < 2^n < 2^(2(n+1))

now f5 is n^2 which is greater than f4 but less than all other 3

now f6 is 4^logn we compare it with 42^42*log(n) clearly the growth rate of 4^logn is greater hence it is bigger than 42^42*log(n)

f7 = 2^(2n) which is 4^n which is same as function 2^2(n+1)

so in ascending order we get

f8 < f4 < f6 < f5 < f1 < f3 < f7 < f2

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Calculate the Moment about A, B, C for the given object. Here, the forces F1 =...
Calculate the Moment about A, B, C for the given object. Here, the forces F1 = 20N, F2 = 25N, F3=30N,F4 =35N,F5 =10N,F6 =15N,F7 =9N,F8=12N. Allinclinedforcesmakes30°tothe vertical axis. Where AB = CD = EF = 5 m, E, F, G are the mid-point of AB, CD & EF respectively
6- Rank the following functions by increasing order of growth. That is, find any arrangement g1,g2,g3,g4,g5,g6,g7,g8...
6- Rank the following functions by increasing order of growth. That is, find any arrangement g1,g2,g3,g4,g5,g6,g7,g8 of the functions satisfying g1 = O(g2), g2= O(g3), g3= O(g4), g4= O(g5), g5= O(g6), g6= O(g7), g7= O(g8). [2 points] f1(n)= ne   f2(n)=πn   f3(n)=(n+1)!/2    f4(n)=lnlnn f5(n)=lgn   f6(n)=en    f7(n)= nπlgn   f8(n)=eπ
Determine whether the given functions are linearly dependent or linearly independent. f1(t) = 4t − 7,...
Determine whether the given functions are linearly dependent or linearly independent. f1(t) = 4t − 7, f2(t) = t2 + 1, f3(t) = 6t2 − t, f4(t) = t2 + t + 1 linearly dependentlinearly independent    If they are linearly dependent, find a linear relation among them. (Use f1 for f1(t), f2 for f2(t), f3 for f3(t), and f4 for f4(t). Enter your answer in terms of f1, f2, f3, and f4. If the system is independent, enter INDEPENDENT.)
In Java or  C++ Develop a simulation program to simulate an 8-port Ethernet switch. The switch initially...
In Java or  C++ Develop a simulation program to simulate an 8-port Ethernet switch. The switch initially has no knowledge about the hosts connected to each port. It learns frame addresses and stores-and-forwards the frames. The input text file "in.txt" contains information of the incoming frames, one frame per line. There are 4 pieces of data per line: frame ID, arrival port, frame source address, and frame destination address. The frames arrive at the switch in the order of which they...
Consider the following functions. f1(x) = x, f2(x) = x-1, f3(x) = x+4 g(x) = c1f1(x)...
Consider the following functions. f1(x) = x, f2(x) = x-1, f3(x) = x+4 g(x) = c1f1(x) + c2f2(x) + c3f3(x) Solve for c1, c2, and c3 so that g(x) = 0 on the interval (−∞, ∞). If a nontrivial solution exists, state it. (If only the trivial solution exists, enter the trivial solution {0, 0, 0}.) {c1, c2, c3} =?    Determine whether f1, f2, f3 are linearly independent on the interval (−∞, ∞). linearly dependent or linearly independent?  
The Fibonacci series is given by; F0=0, F1=1,F2=1, F3=2,F4=3,…F(i)=F(i-1)+F(i-2) Given that r^2=r+1. Show that F(i) ≥...
The Fibonacci series is given by; F0=0, F1=1,F2=1, F3=2,F4=3,…F(i)=F(i-1)+F(i-2) Given that r^2=r+1. Show that F(i) ≥ r^{n-2}, where F(i) is the i th element in the Fibonacci sequence
Given the following list of functions, determine the order of growth of each using big-Theta notation...
Given the following list of functions, determine the order of growth of each using big-Theta notation and put all the functions in order from slowest-growing to fastest-growing. Be sure to put functions of equal growth rate on the same level. Unless otherwise noted, you can assume all logarithms are base-2. 6nlog(2n)+8n 4n2log(log(8n))+8n2+n 500 n3+7nlog(n2) + 4n 2n+2n+1 log(4n2)+3n+1 12 8log(24n)+10 8n2log(5n2)+7n+200 4log(n3)+1000 100log(16n)log(n6)+23 8nlog(log(n4))+6n+32 9log(log(8n))
High-level computer languages are created to be understood by humans. As a result, the keywords and...
High-level computer languages are created to be understood by humans. As a result, the keywords and the commands of these languages are easy to understand. Machine languages are harder to understand and operate. For this assignment, you should assume that the memory cells at addresses F0 to F9 are in the machine described here: Op-Code Operand Description 1 RXY LOAD the register R with the bit pattern found in the memory cell whose address is XY 2 RXY LOAD the...
Given the following unordered array: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]...
Given the following unordered array: [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] W X D T P N R Q K M E If the array was being sorted using the SHELL sort and the halving method, and sorting into ASCENDING order as demonstrated in the course content, list the letters in the resulting array, in order AFTER the FIRST pass. [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone...
I am using matlab and getting a "matrix dimensions error below" for line 22. Can someone spot the error and try the code to fix the error. %The beginning step is to generate a functionf(t) that consists of the sum %of the following components % 25 Hz cosine function of magnitude 1 % 50 Hz sine function of magnitude 1 % 40 Hz square wave function of magnitude 1 clear; clc; close all; %sample rate is given at 2500 Hz...