Answer: 32
Step-by-step explanation: hope this helps
Answer:
The larger number is 37. This makes the smaller number 56 - 37, which is 19.
Step-by-step explanation:
The first step is to pick variables for the two numbers. Lets call the smaller number x and the larger number y.
Since the sum of the two numbers is 56, this means that x + y = 56. Let's call this equation 1 and save it for later.
The next sentence says:
The smaller number is 18 less than the larger number. So, 18 less than the larger number would be y - 18. So, the smaller number must be equal to this, so
x = y - 18
Replace the x in equation 1 with y - 18
x + y = 56
(y-18) + y = 56 (replace x with y-18)
2y - 18 = 56 (add the y's)
2y = 74 (add 18 to both sides)
y = 37 (divide both sides by 2)
So, the larger number is 37. This makes the smaller number 56 - 37, which is 19.
Hope this helps!! :)
Answer:
f(N) = 2+ N/2 + 6N² units of time.
Step-by-step explanation:
Assigning 0 to the variable sum takes one unit of time.
Each time you increment sum by B, you need to call the value of sum, sum it to B and assign it to sum, which takes three units of time in total. You are repeating this process for each value of B which ranges from 1 to 4n and for each value of A which ranges from 1 to n/2. Opening the FOR takes also another unit of time, so, as a result, we have
f(N) 1 + 1 (open the FOR in A)+ N/2*(1 (open the FOR in B) + 4N*3) = 2+ N/2 + 6N² units of time. It has order complexity O(N²).
Answer:
$200
Step-by-step explanation:
To find the retail price, multiply the wholesale cost by 1.6
125(1.6)
= 200
So, the retail price will be $200