Order the functions in increasing asymptotic complexity

Assignment Help Engineering Mathematics
Reference no: EM131981433

Questions -

Q1. Suppose T(n) is defined recursively as follows

T(0) = 0

T(n) = 2 · T(n - 1) + n

Which of the following is a valid formula for T(n)?

T(n) = 2(n2 + n + 1)

T(n) = 2n - 1

T(n) = 2n+1 - n - 2

T(n) = 2n+1 - 1

T(n) = n2 + n + 1

T(n) = 2n2 + 2n

Q2. Order the following functions in increasing asymptotic complexity.

(I) 3n log(n) + 2n2

(II) 5nlog(loh(n))

(III) 3n/√(n+1)

(IV) √(7n3+3n+1)

(I) < (IV) < (II) < (III)

(III) < (II) < (I) < (IV)

(I) < (IV) < (III) < (II)

(II) < (III) < (IV) < (I)

(III) < (IV) < (I) < (II)

(IV) < (II) < (I) < (III)

Q3. Suppose T(n) is defined as follows:

 T(1) = 1

T(n) = 8 · T(n/2) + 2n2(n + 1)

Which of the folding provides the best upper bound for the asymptotic complexity of T(n)?

O(n3·log(n))

O(n3)

O(n2.5)

O(n2·log(n))

O(n2)

Q4. Suppose T(n) is defined as follows

T(1) = 2

T(n) = 2 · T(n - 1) + 4 · T(n/2)

Which of the following provides the best upper bound for the asymptotic complexity of T(n)?

O(n3)

O(2n)

O(n2 · log(n)

O(n2)

O(n · log(n))

Q5. How many different 7-letter words can be made by using the exact same letters as in SCIENCE (e g SCIENCE counts but CCEINSS does not since d uses only one E)?

Q6. How many numbers in the interval [1, 2000] are divisible by 4 or 14 but not both?

Q7. How many sequences of 10 coin flips have exactly 4 heads and 6 tails?

Q8. How many sequences of n + 1 coin flips, where n > 1, contain no pair of consecutive heads (no HH) and no pair of consecutive talks (no TT)?

2283_figure.png

Reference no: EM131981433

Questions Cloud

Describe the cultural and economic differences : Describe the ways in which families affect and are affected by schools. Describe how cliques, peer pressure, bullying, cultural and economic differences.
What is the standard deviation of ashley portfolio : The stock and bond funds have a correlation of -0.25. What is the standard deviation of Ashley's portfolio?
Write a function in scheme that accepts a list : Wriite a function in Scheme that accepts a list, and returns a true value if all the items in the list are in ascending order
Describe in detail the role the control unit plays in a cpu : Detail how each process would work and provide a real life example of the entire process.
Order the functions in increasing asymptotic complexity : Order the following functions in increasing asymptotic complexity. How many sequences of 10 coin flips have exactly 4 heads and 6 tails
What are some useful team viewer host tools : What are some useful Team Viewer host tools that a technician might need to use on the target system, and why might they be used?
A group of investors are analyzing the property : A group of investors are analyzing the property to determine if it would be a worthwhile investment.
Comparing and contrasting the strategies by explaining : Define the security strategies of Defense in Depth and Layered Security along with comparing and contrasting the strategies by explaining
Distinguishes management from leadership and managers : Roger works for a business software firm and is passionate about his work. He is committed to delivering high-quality software solutions on schedule.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  Calculate the motel operating income for the year

A 70-room motel's average room rate is $125. Its average occupancy is 74%. Fixed costs are $1,056,000 a year and variable costs are $212,704 a year.

  Solve the differential equation

Solve the differential equation - Solve (x3 + 3xy2)dx + (y3 +3x2y)dy

  The differential equation of motion for large deflection

Determine the differential equation of motion for large deflection. Assume string tension to be T.

  Problem regarding the amounts of baseballs and cletes

How many hours per day should each company operate to produce the required amounts of baseballs and cletes while minimizing the cost of production? What's the minimum production cost?

  Review problem of an investment broker

An investment broker bought some stock at $87.89 per share and sold it after 3 months for $105.34 per share. What was the annual simple interest rate.

  What is the euler characteristic of this complex

Consider the following 2-dimensional complex, denoted by K, given by taking a pair of tetrahedra, ABCD and A'B'C'D' with A'B'C'D' smaller and inside ABCD together with the edges AA', BB', CC', and DD', What is the Euler characteristic of this compl..

  Calculate the required wall thickness

A closed cylindrical tank for an air compressor is 24 in. in diameter and is subjected to an internal pressure of 450 psi.

  Find mean and variance of difference between their lifetimes

A consumer is contemplating the purchase of a new smart phone. A consumer magazine reports data on the major brands.

  Find the fourier series expansion

The final signal recovery using the process of modulation, demodulation and frequency domain filtering - Find the Fourier series expansion.

  Examine the uncertainty regarding the success or failure

Your boss has asked you to work up a simulation model to examine the uncertainty regarding the success or failure of five different investment projects.

  Determine the allowable tensile load

Determine the allowable tensile load that can be applied to the connection shown. The plates are of ASTM A36 steel and the weld is made using an E70 electrode.

  Estimate the probability of a

Cooper Realty is a small real estate company located in Albany, New York, specializing primarily in residential listings.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd