Nope. U need to divide it all by 3. Y mustn't have anything in front of it. So u get. Y=5x-4
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²).
Ok she can buy 1 ten and 25 ones, 2 tens 15 ones, 3 tens 5 ones, and 35 ones. (Pretty sure)
Answer:
3.14 square units
Step-by-step explanation:
Circumference of a circle = 2πr
2πr = 6.28
r = 6.28/2π
r = 3.142/π
Area of a circle = πr^2
slot in the value of r
Area of the circle = π( 3.142/π)^2
" = π(9.87/ π^2)
" = 9.87/π
π = 3.14
Area of a circle = 9.867/ (3.14)
" = 3.14 square units