•Project #1 assignment 2
–In lesson #3 we used the R function runif(1) to generate random numbers.
–Hence, find a simple random number generator in [0,1].
–Write a small script using R
–Generate 10000 random numbers.
–Plot the random numbers
Later on he said this:
You should not use R functions or libraries; you should look on the web for an algorithm about random number generators.
I used x(n+1)=a*x(n)*mod m