Answer:
x=−3y+36
Step-by-step explanation:
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:
4
Step-by-step explanation:
Let's say B is the number of boys and T is the number of teachers.
T / (B + 18) = 2/21
B/18 = 4/3
Solve the second equation for B.
B = 24
Plug into the first equation to find T.
T / (24 + 18) = 2/21
T = 4
Answer:
22 minutes
Step-by-step explanation:
15-11.26=3.74
3.74 divided by .17 eqauls 22
# of numbers between 1 & 103: 102
Half of that would be even numbers. So, 51 even numbers.
Between 4 and x, there are 102 numbers. 4+102=106. 4+106=x. 106=x