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:
≈ 93.06 cm²
Step-by-step explanation:
Subtract the area of the rectangle from the area of the circle
area of circle = πr² = π × 8² = 64π cm²
area of rectangle = 12 × 8 = 108 cm²
Thus
shaded area = 64π - 108 = 201.062 - 108 ≈ 93.05 cm² ( nearest hundredth )
Okay, what do we know?
1*6=6, right?
Well, then 9*6=? (you should know your math facts by now)
<span>48 fluid ounces is the right answer</span>
7,14,21,28,35,42,49,56,63,70,77,84