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:
At (-2,0) gradient is -4 ; At (2,0) gradient is 4
Step-by-step explanation:
For this problem, we simply need to take the derivative of the function and evaluate when y = 0 (when crossing the x-axis).
y = x^2 - 4
y' = 2x
The function y = x^2 - 4 cross the x-axis when:
y = x^2 - 4
0 = x^2 - 4
4 = x^2
2 +/- = x
Hence, this curve crosses the x-axis twice, once at (-2,0) and again at (2,0).
The gradient at these points are as follows:
y' = 2(-2) = -4
y' = 2(2) = 4
Cheers.
Answer:
11x11x11=11³
Step-by-step explanation:
11 to the third means 11 times itself 3 times
Yes it is right because you are measuring by either the base to height or length times width
Answer:
c
Step-by-step explanation:
1.) move all terms that are not x to the right side.of the inequalities.
10+x≤20 <u>4x</u>≥<u>-24</u>
-10 -10 4 4
x≤10 x≥-6
2.) combine the two equations to make -6≤x≤10