Answer:
the answer is k=1
Step-by-step explanation:
If a number can be written or can be converted to p/q form, where p and q are integers and q is a non-zero number, then it is said to be rational and if it cannot be written in this form, then it is irrational.
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:
48cm
Step-by-step explanation:
V= L x W x H
V= 8 x 3 x 2= 48cm
The answer is: [C]: " y = -2x - 1 " .
____________________________________________________