real q, m, tempo, t // q é a quantidade inicial, // m é a meia-vida, leia q, m, tempo t <- 0 enquanto t < tempo: mostre q0 * ( 1.0 / 2.0^(t/m) ) t <- t + m/10