Answer:
1
Step-by-step explanation:
If 3m + 5 = 8
We can say 8 - 5 = 3m
So, 3 = 3m
So, m = 1.
1 x 3 = 3!
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:
c: -7
Step-by-step explanation:
Answer:
21
Step-by-step explanation:
Step 1:
0.6x - 0.1 = 0.5x + 2 Equation
Step 2:
0.1x - 0.1 = 2 Subtract 0.5x on both sides
Step 3:
0.1x = 2.1 Add 0.1 on both sides
Step 4:
x = 2.1 ÷ 0.1 Divide
Ansewr:
x = 21
Hope This Helps :)
FOLLOW ME FOR CLEARING YOUR NEXT DOUBT