The Triangular Distribution

The triangular distribution is a continuous probability distribution with probability density function

Where are a and b are the upper and lower limits of the distribution. The probability distribution function is shown below.

The cumulative distribution function is found by integration of

The mean and variance are given byandrespectively.