Answer:
D. THE STATE-required minimum number of passengers
Right for connexus.
-
Two passengers was the WRONG answer.
-3°C is the coldest temperature
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:

Step-by-step explanation:
Use the slope-intercept form:

m is the slope and b is the y-intercept. Looking at the graph, you can find the y-intercept. The y-intercept is the point where x equals 0:


To find the slope, take any two points from the line:

Use the slope formula for when you have two points:

The rise over run is the change in the y-axis over the change of the x-axis. Insert the appropriate values:


Simplify parentheses (two negatives makes a positive):


Simplify (two negatives make a positive):

The slope is
and the y-intercept is
. Insert these into the equation:

Finito.
Answer:
8, 16, 64
Step-by-step explanation:
8 = 2^3 . . . a perfect cube
16 = 4^2 . . . a perfect square
32 = 2^5 . . . neither a cube nor a square
64 = 2^6 = 4^3 = 8^2 . . . both a perfect cube and a perfect square
128 = 2^7 . . . neither a cube nor a square