Question
i) Consider the assertions below. Prove or disprove the assertion using limits, possibly with LHopitals rule. Also, if the assertion is true, show that it
i) Consider the assertions below. Prove or disprove the assertion using limits, possibly with LHopitals rule. Also, if the assertion is true, show that it is true directly from the definition of the asymptotic notation and derive values for the relevant constants.
(a) 3n^2 + 5n + 7 O(n2)
(b) 5(n 2)! (n!)
(c) cubicSqrt(n^3 5) (n) ( n^3-5 is under a cubic square root )
ii) Give the recurrence relation where indicated or solve the given recurrence relation by algebraically unrolling it.
(a) Give a recurrence relation, T(n), and its initial condition for the sequence 3, 5, 9, 17, 33, 65 .
(b) Solve the relation in (a).
(c) Solve T(n) = cn + T(n 1) with the initial condition T(1) = 1.
(d) Solve T(n) = T(n / ) + n with the initial condition T(1)=1.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started