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:
Step-by-step explanation:
a)
b)
c)
- 275 + 125x = 1850 - 100x
- 125x + 100x = 1850 - 275
- 225x = 1575
- x = 1575 / 225
- x = 7
The answer is 7 months
Answer:
the answer is 22 hope this helps
Step-by-step explanation:
7(-7)= -49
-49+149=100
100-56=44
44/2=22
Answer:
2 2/19
Step-by-step explanation:
5 cases in 2 3/8 hours
The unit rate of cases per hour is calculated by dividing the number of cases by the number of hours.
5/(2 3/8) = 5/(19/8) = 5 * 8/19 = 40/19 = 2 2/19
B. Annually 2 years would equal 9%. 540/2=270.
3,000x9%=270.
Altogether would be 18%. But, if we’re solving it for each separate year, then it would be 9%.