1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
maxonik [38]
3 years ago
13

Indicate whether the first function of each of the following pairs has a smaller, same or larger order of growth (to within a co

nstant multiple) than the second function. Justify your answer
1. n(n+1) and 2000 n
2 + 34 n 2. In n and Ign
3. 2n-1 and 2n
4. 2 n² and 0.001 n3 - 2 n
Computers and Technology
1 answer:
Aloiza [94]3 years ago
5 0

Answer:

1. The first function n^2 + n has the same order of growth as the second function 2000n^2 + 34n within a constant multiple.

2. The first ln(n) \\  and the second log(n) logarithmic functions have the same order of growth within a constant multiple.

3. The first function \frac{1}{2}2^{n} has the same order of growth as the second function 2^n within a constant multiple.

4. The first function 2n^2\\ has a smaller order of growth as the second function 0.001n^3 - 2n within a constant multiple.

Explanation:

The given functions are

1. n(n +1 ) and 2000n^2 + 34n

2. ln(n) \\ and log(n)

3. 2^{n-1} and 2^n

4. 2n^2\\ and 0.001n^3 - 2n

The First pair:

n(n +1 ) and 2000n^2 + 34n

The first function can be simplified to

n(n +1 )  \\\\(n \times n) + (n\times1)\\\\n^2 + n

Therefore, the first function n^2 + n has the same order of growth as the second function 2000n^2 + 34n within a constant multiple.

The Second pair:

ln(n) \\ and log(n)

As you can notice the difference between these two functions is of logarithm base which is given by

log_a \: n = log_a \: b\: log_b \: n

Therefore, the first ln(n) \\  and the second log(n) logarithmic functions have the same order of growth within a constant multiple.

The Third pair:

2^{n-1} and 2^n

The first function can be simplified to

2^{n-1} \\\\\frac{2^{n}}{2}  \\\\\frac{1}{2}2^{n}  \\\\

Therefore, the first function \frac{1}{2}2^{n} has the same order of growth as the second function 2^n within a constant multiple.

The Fourth pair:

2n^2\\ and 0.001n^3 - 2n

As you can notice the first function is quadratic and the second function is cubic.

Therefore, the first function 2n^2\\ has a smaller order of growth as the second function 0.001n^3 - 2n within a constant multiple.

You might be interested in
Which two climates have moderate rainfall and experience warm summers and cold winters due to their position relative to mountai
77julia77 [94]
Most probably grassland and steppes
6 0
2 years ago
When you expand the virtual size of a game, what do you create?
dangina [55]
I think the answer is c
3 0
2 years ago
Maria is comparing her history project's second-place award to her classmate's first-place award. She starts planning how to win
weeeeeb [17]

Answer:

i would say long term

Explanation:

if she is planning for a while on how she is gonna get the first place award and its a long period of time before the next history project i would go with long term

5 0
3 years ago
Read 2 more answers
A computer network is a collection of _____.
Talja [164]
Wifi..............????
6 0
3 years ago
Read 2 more answers
For two integers m and n, their GCD(Greatest Common Divisor) can be computed by a recursive function. Write a recursive method g
konstantin123 [22]

Answer:

In Python:

def gcd(m,n):

if n == 0:

 return m

elif m == 0:

    return n

else:

 return gcd(n,m%n)

Explanation:

This defines the function

def gcd(m,n):

If n is 0, return m

<em> if n == 0: </em>

<em>  return m </em>

If m is 0, return n

<em> elif m == 0: </em>

<em>     return n </em>

If otherwise, calculate the gcd recursively

<em> else: </em>

<em>  return gcd(n,m%n)</em>

<em />

<em>To call the function to calculate the gcd of say 15 and 5 from main, use:</em>

<em>gcd(15,5)</em>

6 0
2 years ago
Other questions:
  • Clicking on the Spelling &amp; Grammar button is one way to correct a spelling error in Word. Please select the best answer from
    7·2 answers
  • 3.A ball is thrown into the air with an initial velocity of 15 m/s. a.How long does it take the ball to reach maximum height?b.W
    12·1 answer
  • There are many different types of documents that are used to convey information in the business world-letters and
    12·1 answer
  • (Please answer! Correct answer gets brainliest!)
    5·2 answers
  • What is the value of the result after the following statement is executed? int result = 2 + 3 + 4 ;
    7·1 answer
  • If you were looking for a record in a very large database and you knew the ID number, which of the following would be the most d
    6·1 answer
  • I NEED HELP ASAP
    8·1 answer
  • I will have to goste yall im busting my butt off doing homework
    10·2 answers
  • susan wrote the recursive formula for the sequence represented by the exploit formula An=3+2n. put an C net to any correct state
    13·1 answer
  • An online bank wants you to create a program that shows prospective
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!