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:
y = x/2 - 7
Step-by-step explanation:
First, we need to find the slope of the given equation: x - 2y = 8
Subtract x from both sides
x - 2y = 8
- x - x
-2y = 8 - x
Divide both sides by -2
-2y/-2 = (8 - x)/-2
y = -4 + x/2
The slope of this equation is 1/2
So the equation of our parallel equation is y = x/2 + b
We have to find b, so plug in the given coordinates
-6 = 2/2 + b
-6 = 1 + b
Subtract 1 from both sides
-6 = 1 + b
- 1 - 1
b = -7
Plug it back into the original equation
y = x/2 - 7
Answer:
784m^2
Step-by-step explanation:
is a rectangle with sides of 40m and 20m, in the upper right corner a right triangle has been removed with the legs of: 40 - 32 = 8m and 20 - 16 = 4m, we find the area of the rectangle (b * h).
40 * 20 = 800m ^ 2, then we find the area of the right triangle
1/2 b * h: 1/2 8 * 4 = 16 m ^ 2.
we remove the area of the triangle from the rectangle and we have the area of the figure: 800 - 16 = 784m^2
Answer:
x = 41
Step-by-step explanation:
We know these angles will be equal to each other (they are across from each other, I honestly forget the term ) so we can set up an equation
Our equation from given: 104 = 3x - 19
Adding 19 to both sides 123 = 3x
Dividing both sides by 3: 41 = x
Answer: x = 41
Answer:
Is A supposed to be 6 x m or no??
Step-by-step explanation: