see https://reference.wolfram.com/language/ref/PERTDistribution.html

rpert(n, x.min, x.max, x.mode, lambda = 4)

Arguments

n

Sample size

x.min

Lower limit

x.max

Upper limit

x.mode

Mode

lambda

Shape parameter

Value

sampled value