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.
The reason is the gotter of the right angle is 12
For this problem, we use the approach of ratio and proportion. Assuming that the given ratio of 444 days per 230 km is constant all throughout, we can determine the number of days or distance as long as one of the two is given. In this case, the solution is as follows:
444 days/230 km = 161616 days/distance
Distance = 83,720 km
Answer:
y=1/2x+5
Step-by-step explanation:
Answer:
L = 38/W
Step-by-step explanation:
The area of a rectangle is computed by multiplying length by width. For length L and width W in inches, your rectangle has area ...
A = LW
38 = LW
Then the length can be found by dividing the equation by W:
L = 38/W