Page 41, Exercise 7

 

a: O(n2)

b : 20n+ 4

The answer is obvious because 20•20 = 2020. (a) will exceed b at n>20.