Answer:
No
Step-by-step explanation:
I haven't learned this but my brother says its incorrect, he is in Highschool, though he doesn't use Brainly.
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²).
There are 4 quarters in a dollar. If you divide 72 by 4 and you do not get a remainder then he can.
2(21x − 7) + 4(3x + 2) = 6(2x + 9) + 3
42x - 14 + 12x + 8= 12x + 54 + 3
54x - 6= 12x + 57
54x=12x + 63
42x=63
x= 63/42
x= 3/2
Answer:
the ansqer is g(x) = 4^x-4 + 2