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.
√13 - √11
The last answer.
Answer:
Width = 7units
Step-by-step explanation:
The area of a rectangle
A = h * w
A - area of a rectangle
h - height of a rectangle
w - width of a rectangle
Or
A = length * breadth
It's all the same
Given :
h = 1 + w
w = w
A = 56
56 = ( 1 + w) * w
56 = ( 1 + w)w
56 = w + w^2
56 = w^2 + w
w^2 + w - 56 = 0
Find a factor that can be multiplied to give -56
and added to give + 1
The factor is 8 and -7
Substitute 8w - 7w for w
w^2 + 8w - 7w - 56 = 0
( w^2 + 8w) - (7w - 56) = 0
w( w + 8) - 7( w + 8) = 0
( w - 7) = 0
( w + 8) =0
w - 7 = 0
w = 7
w + 8 = 0
w = -8
Since a side of any rectangle can not be negative
w = 7
The width of the rectangle is 7units
The length of the rectangle is 1 + w = 1 + 7 = 8units
Answer:
60
Step-by-step explanation:
find the area of the missing rectangle:
18-12=6
4-2=2
6 * 2= 12
find the area of the rectangle:
(18*4)-12=60