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.
Total cost = Price of juice + price of chocolate + tax = 10 + 10 + [(16/100) x 20]
= 20 + 3.2
= $23.2
The standard form of an equation is the form where that equation has no fractions and is written in the form ax + by = c.
To get rid of the fractions in y = -5/2 x - 3, we need to multiply both sides by 2. That makes the equation become:
2y = -5x - 6
Now we need to get it into the form ax + by = c. We can do this by adding 5x to each side.
5x + 2y = -6 is our answer
Answer:
its A and C
Step-by-step explanation:
hope this helps and mark me brainliest