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
notka56 [123]
3 years ago
11

Suppose that you have two different algorithms for solving a problem. to solve a problem of size n, the first algorithm uses exa

ctly n(log(n)) operations and the second algorithm uses exactly n3=2 operations. as n grows, which algorithm uses fewer operations? justify your answer using definitional proof.
Mathematics
1 answer:
ale4655 [162]3 years ago
5 0
<span>So we have two expressions n(log(n)) and 3n = 2. The second expression involves less operation. From the second expression we have n = 2/3. If the RHS and LHS will be balanced, then the value of n cannot exceed 2/3. Sowe have no operation at that point. On the other hand when n = 10 we have 10(log(10)) = 1. When n is increased to 100. We have 100(log(100)) = 200 and when n = 300 we have 300(log(300)) = 300 *2.47 = 743.1 As n increase, the logarithmic function also increases, there's no end in sight; on the other hand as n increase in the first operation, once it reaches 2/3, it stops. So the second has fewer operations.</span>
You might be interested in
Miranda needs to buy a bottle of honey. She notices that she can pay $4 for a
vitfil [10]

Answer:

The better one is $6 for 24 oz bottle

Step-by-step explanation:

If it cost 4 dollars for a 12 oz bottle and that would cost 1 dollar per 3 oz but for the 6 dollar for a 24 oz bottle it would be 1 dollar per 4 oz so 6 dollars for a 24 oz bottle is better!

5 0
3 years ago
Select all of the following that are ordered pairs of the given function.
Tatiana [17]
F(x) is the same as y.......so basically ur subbing in ur points into the equation to see if it comes out equal.

f(x) = 3 - 2x.....(-2,-1)....x = -2 and f(x) = -1
-1 = 3 - 2(-1)
-1 = 3 + 2
-1 = 5.....this is not true, so it is not a solution

and that is how to do this problem.....

(-1,5)......this IS a solution
(0,3)......this IS a solution
(1,0)...this IS NOT a solution
(2,-1)...this IS a solution

8 0
4 years ago
A survey of 80 students found that 24 students both play Which of the following correctly repres
professor190 [17]

567

Step-by-step explanation:

6 0
3 years ago
When solving negative one over five (x − 25) = 7, what is the correct sequence of operations?
olga nikolaevna [1]
1) 1/5 (x-25) = 7
1/5x - 5 = 7
Add five to both sides
1/5x = 12
Divide both sides by 1/5
x = 60
5 0
3 years ago
Read 2 more answers
Base = 5cm and base angle = 65°​
UNO [17]

Answer:

What's the question?

Step-by-step explanation:

4 0
3 years ago
Other questions:
  • Jackson runs 7/8 mile in 1/2 hour. How many miles does Jackson run in 1 hour? Show work. Please answer this I don’t get it!!
    9·1 answer
  • The sum of two polynomials each of the degree 8 will be degree 8 true or false
    5·1 answer
  • Please help with 1c, 2, and 3. i would appreciate if you explained what you did step by step :)
    10·1 answer
  • The length of a rectangle is six more than double the width. If the perimeter is 102 inches find the dimensions
    13·1 answer
  • What is the slope of the line described by the equation y = 6x + 3?<br><br> The Slope of m = .
    15·1 answer
  • F(x)=-3(x-2)^2+27<br> Reveal the y intercept
    6·1 answer
  • What is the inverse of F(x)= x^3+1
    15·2 answers
  • Can somebody help me with this​
    9·2 answers
  • Consider the table of values and the equation, which both represent a function,
    10·1 answer
  • Drag each length to the correct location on the image. Each length can be used more than once, but not all lengths will be used.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!