For each element of x, compute the probability density function (PDF) of the exponential distribution with mean lambda.