Answer:
D
Step-by-step explanation:
If you figure out the median you'll see that for 8th grafe its 21 and 7th 25 therefore 4 points higher
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:
$2.33 per notebook
Step-by-step explanation:
$6.99 /3 notebooks
$2.33 per notebook
Answer:
d + c liters
Step-by-step explanation:
Let c represents the cost of a candy apple and b represents the cost of a bag of peanuts.
Darius can purchase 3 candy apples and 4 bags of peanuts. So his total cost would be 3c + 4b. Darius can buy 3 candy apples and 4 bags of peanuts in $11.33,so we can write the equation as:
3c + 4b = 11.33 (1)
Darius can purchase 9 candy apples and 5 bags of peanuts. So his total cost would be 9c + 5b. Darius can buy 9 candy apples and 5 bags of peanuts in $23.56,so we can write the equation as:
9c + 5b = 23.56 (2)
<span>Darius decides to purchase 2 candy apples and 3 bags of peanuts. The total cost in this case will be 2c + 3b. To find this first we need to find the cost of each candy apple and bag of peanuts by solving the above two equations.
Multiplying equation 1 by three and subtracting equation 2 from it, we get:
3(3c + 4b) - (9c + 5b) = 3(11.33) - 23.56
9c + 12b - 9c - 5b = 10.43
7b = 10.43
b = $1.49
Using the value of b in equation 1, we get:
3c + 4(1.49) = 11.33
3c = 5.37
c = $ 1.79
Thus, cost of one candy apple is $1.79 and cost of one bag of peanuts is $1.49.
So, 2c + 3b = 2(1.79) + 3(1.49) = $ 8.05
Therefore, Darius can buy 2 candy apples and 3 bags of peanuts in $8.05</span>