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.
3,141......
_____________________________
Answer:
The length of the ladder = 6.5077 ft
Step-by-step explanation:
Given A ladder leans against the side of a house
Given the angle of elevation of the ladder is 68° when the bottom of the ladder is 16 ft from the side of the house
Let 'C' be the point of observation.
Given CA= 16 ft
From right angle triangle
x = 16 × cos 68°
x = 16 × 0.4067
x = 6.5077
x = 6.5 ft
The length of the ladder = 6.5 ft
Answer:
$14000
Step-by-step explanation:
Given that :
Commission 5% of sale price
Sale price of house = $280,000
Commission = 5% of $280,000
Hence,
Commission = 0.05 * $280,000
Commission = $14,000