Answer:
f(N) = 2+ N/2 + 6N² units of time.
Step-by-step explanation:
Assigning 0 to the variable sum takes one unit of time.
Each time you increment sum by B, you need to call the value of sum, sum it to B and assign it to sum, which takes three units of time in total. You are repeating this process for each value of B which ranges from 1 to 4n and for each value of A which ranges from 1 to n/2. Opening the FOR takes also another unit of time, so, as a result, we have
f(N) 1 + 1 (open the FOR in A)+ N/2*(1 (open the FOR in B) + 4N*3) = 2+ N/2 + 6N² units of time. It has order complexity O(N²).
Answer:
5 + 2(3 + 2x) = x + 3(x + 1)
Answer:
square inches
Step-by-step explanation:
Given:
The quilt made by Spencer had a 7×7 array of different color square patches such that each patch is
in long.
To find: the area of the whole quilt
Solution:
Side of each quilt = 
Quilt is in the form of a square such that area of square is given by 
Therefore, area of quilt =
square inches
The percent decrease is 20%.
150 - 120 = 30
30 divided by 150 = 0.2
0.2 as a percent is 20
Old - New
Old
Sum of interiors =exterior


