The answer is 657000 because 1000x.9 is 900x730(which is what 2 years is like in days)
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²).
Refer to the attached image. Since one vertex is the origin and the other two lay on the coordinate axes, the triangle is a right triangle. This means that, if we consider AB to the be base, AC is his height, and vice versa.
Anyway, it means that the area is given by
Since AB is a horizontal segment and AC is a vertical segment, their length is given by the absolute difference of the non-constant coordinate: points A and B share the same x coordinate, so we subtract the y coordinates:
The opposite goes for AC: points A and C share the same y coordinate, so we subtract the x coordinates:
So, the area is
16 mph is the answer I found after doing the work