Density

Computes the probability density function of a random variable X. Although if no parameters are provided the command show the corresponding formula, the values are calculated internally by other algorithms.

density(Random_variable, Real)

Given a random variable X and a real number x, computes the probability density function of X evaluated at point x, f subscript X left parenthesis x right parenthesis.