03-25-2012, 09:24 AM
Well, it has to do with the formula for finding the average value of a function, where the average value is
(1 / b - a) * (a to b)(Integral(ƒ(x)). Since the Rnd() Function only generates numbers between 0 and 1, we need to multiply and add values in order to enter the range we want.
(1 / b - a) * (a to b)(Integral(ƒ(x)). Since the Rnd() Function only generates numbers between 0 and 1, we need to multiply and add values in order to enter the range we want.