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.
X/y
x=1 when y= 5
x=2 when y =10
the constant of proportionality = 1/5
Answer: C
Step-by-step explanation:
Less than or more than without "or equal" means that the dot is not shaded, otherwise it is.
So the answer is C
Answer:
f(x) = 7/(x+3) -38/(x+3)²
Step-by-step explanation:
The denominator is a perfect square, so the decomposition to fractions will involve both a linear denominator and a quadratic denominator.
You can start with the form ...
... f(x) = B/(x+3) + A/(x+3)²
and write this sum as ...
... f(x) = (Bx +3B +A)/(x+3)²
Equating coefficients gives ...
... Bx = 7x . . . . . B = 7
... 3B +A = -17 . . . . the constant term
... 21 +A = -17 . . . . filling in the value of B
... A = -38 . . . . . . . subtract 21 to find A
Now, we know ...
... f(x) = 7/(x+3) -38/(x+3)²
0.300 + .020 + 0.006 would be 0.326 in expanded form.