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: y + 1 = 2 (x -1)
Step-by-step explanation:
Point slope form is:
y - y1 = m (x - x1)
Point on the line is (1, -1) and slope is 2
m = 2
y1 = -1
x1 = 1
y - (-1) = 2 (x - 1) or y + 1 = 2 (x -1)
The one that makes the most sense is C
Answer:
190 baskets of strawberries
Step-by-step explanation:
The question is incomplete as it didn't state what we are to determine from the information given.
Let's determine total amount picked in the three days.
1st day picked 90strawberries
Amount of strawberries on 2nd day = 2/3 of the amount picked 1st day
= (2/3)(90)
Amount of strawberries on 2nd day = 60 baskets of strawberries
Amount of strawberries picked on 3rd day = (2/3) of the amount picked 2nd day
= (2/3) (60)
Amount of strawberries picked on 3rd day = 40 basket of strawberries
Total amount picked for 3 days = 90+60+40
= 190 baskets of strawberries
Answer:
6) -7 + 10 = 3 (3 more; total number doesn't matter)
7) 50w + 20
8) c / 5
9) 5 + 2t
10) 4d + 2d
I didn't see the trick problem!