Answer:
25 or more
Step-by-step explanation:
30/1.is 24 so it would be 25 or more times for it to be a better deal
Y=(x+1)(x-1) this is factored out
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:
37.68 ft^3
Step-by-step explanation:
The parameters used in describing a cone is radius and height
Hence
Radius= 3ft
Height = 2 ft
The volume of a cone is given as

substitute

Hence the volume is 37.68 ft^3