Professional Documents
Culture Documents
Sw2 Questions
Sw2 Questions
2. This time generate a sequence of 36 four-digit random numbers using the same
pseudorandom generator in no. (1) with the same instructions. Using the central limit
theorem technique, generate three random numbers from a normal distribution with a
mean 10 and variance 16.
4. Using the same random numbers that you have generated in (1), generate ten
random numbers from an exponential distribution with α = 1.5 (group 1), 2.0 (group2),
2.5(group3), 3.0(group4), 3.5(group5), 4.0(group6).
5. Using the same random numbers that you have generated in (1), generate 10
random numbers from a triangular distribution with a = 1, b = 3, & c = 2(group1); a = 1,
b = 4, & c =3(group 2); a = 2, b = 4, & c = 3(group3); a = 2, b = 5, & c =4(group4); a = 3,
b = 6, & c = 4(group5); a = 3, b = 7, & c = 5(group6).