What is the logarithm base-2 of zero

Assignment Help Mathematics
Reference no: EM13695865

Question: 1- What is the logarithm base-2 of zero? of one?

A coworker is considering two algorithms, but does not know which does fewer operations.

Algorithm 1 does 3 times the logarithm base 8 of n operations: 3 log8(n)

Algorithm 2 does the logarithm base 2 of n operations: log2(n)

Problem: How would you advise your coworker on which algorithm to choose?

You have to satisfy the requirements specific in the instruction and show how you would advise your coworker?

Reference no: EM13695865

Questions Cloud

Create a new web page : Create a new web page with one image and corresponding JavaScript file. You will teach the image to play the "keep away" game. Give the image an ID so that your script can find it with the getElementById method.
For what value is n is 10n : Show how to do this so please show the work involved.
Function that has three inputs which are integers : Write a C++ function that has three inputs which are integers. The function returns true if the first number raised to the power of the second number equals the third number.
Determine the error in your above estimate : Determine the error in your above estimate, and use that value to estimate the error you'd expect for
What is the logarithm base-2 of zero : How would you advise your coworker on which algorithm to choose - What is the logarithm base-2 of zero? of one?
Calculate the wait time between two iterations : Question on Retry factor and Retry and Retry Interval, practical question is asked on this to calculate the wait time between two iterations?
How long does it take the man to reach his in-laws : How long does it take the man to reach his in-laws- A man begins a car trip to visit his in-laws. The total distance is 60 miles, and he starts off at a speed of 60 miles per hour. After driving exactly 1 mile, he loses some of his enthusiasm for t..
Put the commands into a file : get the accounts from /etc/passwd where the person's name starts with A-G. (Look at the full names and just the first letter of the first name in the field.)
Determine the variance of the random variable x : Marketing estimates that a new instrument for the analysis of soil samples will be very successful, moderately successful, or unsuccessful, with probabilities 0.6, 0.6, and 0.1, respectively.

Reviews

Write a Review

Mathematics Questions & Answers

  At what probability of success

Her research indicates that she could earn 45% in one year if the cure is successful or lose 63% in one year if it is not. At what probability of success (P) would the pharmaceuticals stock be the better choice?

  Second order differential equation

Convert the nonlinear, second order differential equation to the first order system and solve the differential equation

  Find the overall dimensions that will minimize

a poster is to contain 100 square inch of picture surrounded by a 4-inch margin at the top and bottom and a 2 inch margin on each side. FInd the overall dimensions that will minimize the total area of the poster.

  What is the length and width of the garden

A farmer has a rectangular garden plot surrounded by 270 ft of fence. If its area is 3800 ft2, what is the length and width of the garden?

  What is the ordered pair that defines the y-intercept

Given the quadratic equation y = 5x2-3x+7 .What is the ordered pair that defines the y-intercept?

  Find the demand function

A baseball team plays in a stadium that holds 59000 spectators. With ticket prices at $10, the average attendance had been 5000. When ticket prices were lowered to $8, the average attendance rose to 15000.

  Find out the optimal route

Jon is a traveling salesman for a pharmaceutical company. His territory includes 5 cities and he needs to find the least expensive route to the cities and home. Starting at city A, determine the optimal route using nearest neighborhood method.

  What odds should a person give in favor of following events

What odds should a person give in favor of the following events?

  Find the rate at which water is being drained

At the instant when the water in the container is 3 inches deep, the surface level is falling at the rate of -0.90 in./s. Find the rate at which water is being drained.

  Solve the quadratic equation

Find explicitly f(x) = H(x) / g(x), as it would be a quadratic equation and then solve for the roots of f(x) for in terms of  for which it would have real roots

  Q suppose that g is a forest consisting of k trees t1 t2

q1. suppose that g is a forest consisting of k trees t1 t2 ... tk. furthermore suppose that ti has order ni for

  Compare the number of floating point operations

Compare the number of floating point operations (see "flops") needed by the two approaches to spectral differentiation which method is preferable?

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