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.
They didn’t use a ruler I think they made their own materials from what they had. Also thank you.
Convert the mixed number to an improper fraction:
Subtract the fractions to get your final answer:
Answer:
47
Step-by-step explanation:
180 - 133 = 47
Answer:
y = x - 10
Step-by-step explanation:
Find the slope:
-4 - (-8) ÷ 6 - 2
-4 + 8 ÷ 6 - 2
4 ÷ 4
= 1
Substitute into the slope-intercept equation:
y = mx + b
Let's use the first coordinate (2,-8) for the x and y values
m = 1
-8 = 1(2) + b
-8 = 2 + b
-2 -2
-10 = b
Write equation:
y = 1x -10 or y = x -10