The density function of the triangular distribution is
where , , and are real numbers with .
Parameters:
is the minimum.
is the maximum.
is the mode.