Write a program that calls nextInt (that returns an int in the specified interval) 100,000 times to generate numbers between 1 and 1,000. Does it meet the stronger statistical tests given in Section 2? Run the Poisson generator shown in Figure 5 1,000,000 times, using an expected value of 2. Does the distribution agree with Figure 4?
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here