We have a "rectangular" double loop, meaning that both loops go to completion.
So there are 3*4=12 executions of t:=t+ij.
Assuming two operatiions per execution of the innermost loop, (i.e. ignoring the implied additions in increment of subscripts), we have 12*2=24 operations in all.
Here the number of operations (+ or *) is exactly known (=24).
Big-O estimates are used for cases with a varying scale of operations, governed by a variable (usually n) to indicate the sensitivity of the number of operations relative to a change in the size of n.
Here we do not have a scale, nor n is defined. The number of operations is constant and known at 24. So a variable is required to find the big-O estimate.
Answer:
681ft^2
Step-by-step explanation:
Start by finding the area of the whole thing with the missing triangle:
33 x 22 = 726
Then find the area of the triangle. You can do this by first finding out the side lengths of the triangle:
33 - 24 = 9 and 22 - 12 = 10
Then multiply both sides and divide by two because it is a triangle:
10 x 9 = 90 90/2 = 45
Then subtract the area of the triangle from the rectangle:
726 - 45 = 681
Answer:
-7
Step-by-step explanation:
Answer:
240
Step-by-step explanation:
Answer:
d=4.5
Step-by-step explanation:
d+5.5=10
d=10-5.5
d=4.5
Hope this is helpful