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²).
Y=44x+290
y=-28x+290
those are the first two
De acordo com a disponibilidade da unidade, há apenas a seguinte dosagem: 1g/2mL - ou seja, uma grama de dipirona a cada 2mL
O enunciado está meio mal formulado, pois é dito que foram prescritos 500mg de dipirona e é essa quantidade de farmaco que a criança tem que tomar. Deseja-se saber quantos mL deverao ser administrados.
Fazendo a classica regra de 3, podemos chegar no volume desejado:
(atentar que 500mg = 0,5g)
g mL
1 --------- 2
0,5 --------- X
1 . X = 0,5 . 2
<h3>X = 1mL</h3>
A)site A has a larger probablility of finding oil
B) the difference between amount of profitmade is 30 million.
Answer:
its 60 all around
Step-by-step explanation: