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
FromTheMoon [43]
4 years ago
11

A mathematician is working with a programmer to write a program to solve a problem using high level mathematics. The mathematici

an asks the programmer to help her determine the efficiency of the algorithm. How can the efficiency be determined?
Mathematics
1 answer:
RSB [31]4 years ago
6 0

Answer:

The efficiency of the algorithm can be determined by a measure of amount of time for an algorithm to execute that is time efficiency. Also by a measure of the amount of memory needed for an algorithm to execute: space efficiency. Asymptotic dominance - comparison of cost functions when n is large. That is, g asymptotically dominates f if g dominates f for all "large" values of n.

Step-by-step explanation:

Efficiency of an algorithm means how fast it can produce the correct result for the given problem. The efficiency of an algorithm depends upon its time complexity and space complexity. The complexity of an algorithm is a function that provides the running time and space for data, depending on the size provided by us.

Usually there are natural units for the domain and range of this function. There are two main complexity measures of the efficiency of an algorithm: Time complexity is a function describing the amount of time an algorithm takes in terms of the amount of input to the algorithm.

Algorithm complexity is a measure which evaluates the order of the count of operations, performed by a given or algorithm as a function of the size of the input data. To put this simpler, complexity is a rough approximation of the number of steps necessary to execute an algorithm.

Steps to analyze an algorithm:

- Implement the algorithm completely.

- Determine the time required for each basic operation.

- Identify unknown quantities that can be used to describe the frequency of    execution of the basic operations.

- Develop a realistic model for the input to the program.

You might be interested in
Find the slope that is PARALLEL and PERPENDICULAR to the equation of the line y = -1/2x+6.
kifflom [539]

Answer:

parallel: -1/2

perpendicular: 2

Step-by-step explanation:

lines that are parallel have the same slope because they never intersect

lines that perpendicular, have the opposite reciprocal slope.

y = mx + b

where m is the slope

y = -1/2x + 6

-1/2 is the slope.

the slope in the equation given: -1/2

the slope parallel to the line given : -1/2

the slope perpendicular : opposite reciprocal, so the opposite of -1/2 is 1/2 and the reciprocal of 1/2 is 2.

3 0
3 years ago
A rectangle is 12cm long and 9cm wide . calculate the length of the diagonal​
Shalnov [3]

Answer: 15 centimeters

Step-by-step explanation: You cut the rectangle into two triangles following the diagonal. You add 12 squared (144) and 9 squared (81) together. You get 225. You get the square root of 225 which is 15 and that is your answer. Basic solving for the hypotenuse.

4 0
3 years ago
Read 2 more answers
Can you help meh answer for brianliest
Yakvenalex [24]

Answer:

1st One- 1 13/30

2nd One- 1 13/20

3rd One- 1/6

Step-by-step explanation:

Because yes

4 0
3 years ago
Read 2 more answers
You are spreading fertilizer on a golf course at the rate of 40 pounds per 10000 square feet. If the course is 320 acres, how ma
MatroZZZ [7]
I believe the answer is 18,295.2 tons of fertilizer.
6 0
4 years ago
F(x)=2x+1/x-1 then f^-1(1)​
olasank [31]

Answer:

  • f⁻¹(x) = (x + 1) / (x - 2)
  • f⁻¹(1 ) = - 2

Step-by-step explanation:

<u>Given function:</u>

  • f(x) = (2x + 1) / (x - 1)

<u>Find its inverse, substitute x with y and f(x) with x, solve for y:</u>

  • x = (2y + 1) / (y - 1)
  • x(y - 1) = 2y + 1
  • xy - x = 2y + 1
  • xy - 2y = x + 1
  • y(x - 2) = x + 1
  • y = (x + 1) / (x - 2)

<u>Substitute y with f⁻¹(x):</u>

  • f⁻¹(x) = (x + 1) / (x - 2)

<u>Find  f⁻¹(1 ):</u>

  • f⁻¹(1 ) = ( 1 + 1) / (1 - 2) = 2 / - 1 = - 2
6 0
2 years ago
Other questions:
  • How many 9 does it take to make the same amount is 1 third
    6·2 answers
  • Can someone please help me with this question
    7·1 answer
  • Consider the circle above. What is the approximate area of the circle?
    12·1 answer
  • A cd/mp3 player for a car cost 170 dollars it is on sale for 12% off with a free installation
    8·1 answer
  • What is the estimated product for 2.34 X 16?
    12·1 answer
  • Clarisse used the ordered pairs (0,13) and (24,5) for trend line. What would be the y-intercept of her trend line
    12·1 answer
  • Determine the given rotation <br><br> please help me :( no one hasn’t helped me
    14·2 answers
  • DOES ANYONE KNOW THIS? PLEASE HELP
    12·1 answer
  • Identify whether the following numbers are rational or irrational i) 0.11011001100011...........
    13·2 answers
  • Write the equation of the graph in slope-intercept form<br> y=mx+b
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!