Answer:
35
Step- by- Step Explanation
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: 0
Step-by-step explanation:
Ligit 0 cuz you are multimplying by 0
The answer is C because 51×-2=-102 and 51×-0.5=-25.5
So it -102+(-25.5) or C
Answer:
(X - 4)(x - 4)
Step-by-step explanation:
x2 - 8x + 16
What two numbers multiply to 16 and add to -8
-4 * -4 = 16
-4 +-4 = -8
(x-4) (x-4)
(x-4)^2