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:
Answer:
Option 2nd is correct.
=0.
Step-by-step explanation:
Given the function:
Solve:
First calculate:
f[g(x)]
Substitute the function g(x)
Replace x with x-8 in the function f(x) we get;
The distributive property says that:
Using distributive property:
⇒
Put x = 6 we get;
Therefore, the value of is 0.
Step-by-step explanation:
<span>The answer is 90,000</span>
I think 3 because if u divide 207 by 69 you get 3
Answer:
Hold on, our servers are swamped. Wait for your answer to fully load.
more ponits not fair
Step-by-step explanation:
jus beig ismapHold on, our servers are swamped. Wait for your answer to fully load.