Generate random samples from a Triangular distribution using: If U<c−ab−a: x=a+U(b−a)(c−a); Otherwise: x=b–(1−U)(b−a)(b−c).
* Enter the parameters a, c (with a≤c≤b), b, and the desired sample size.
e.g., 0
e.g., 5 (ensure a≤c≤b)
e.g., 10
e.g., 1000
First 10 Samples: