Como definir a função de probabilidade