Triangular Command
- Triangular( <Lower Bound>, <Upper Bound>, <Mode>, <Variable Value> )
-
Evaluates the cumulative distribution function of a triangular distribution at variable value v, i.e. calculates the probability P(X ≤ v) where X is a random variable with a triangular distribution in [lower bound, upper bound] with the given mode.
Triangular(0, 5, 2, 2)
yields 0.4.
This syntax returns the probability at a given value, that is the area under the triangular distribution curve to the left of the given x-coordinate. |
- Triangular( <Lower Bound>, <Upper Bound>, <Mode>, <Variable Value>, <Boolean Cumulative> )
-
If Cumulative = true, evaluates the cumulative distribution function of a triangular distribution with given mode at the given variable value in [lower bound, upper bound], otherwise it evaluates the probability density function of the distribution at variable value.
- Triangular( <Lower Bound>, <Upper Bound>, <Mode>, x, <Boolean Cumulative> )
-
If Cumulative is true, creates the cumulative distribution function of a triangular distribution with given mode in [lower bound, upper bound], otherwise it creates the probability density function of a triangular distribution with given mode in [lower bound, upper bound].