Skip to content

A Java based GUI to find/show that the random() function is not fully unbiased. After iterating 1000 times we get that some numbers are repeating again and again.

Notifications You must be signed in to change notification settings

Kdnjnv/RandoumNumBiasedness

Repository files navigation

RandoumNumBiasedness

A Java based GUI to find/show that the random() function is not fully unbiased. After iterating 1000 times we get that some numbers are repeating again and again.

  1. First of all run a loop for 1 lac times to get the 4 digit number and find its freq.

  2. Repeat above process 1000 times.

  3. Count the freq of all the numbers.

  4. Output top ten frequent numbers as input.

  5. we will see that many numbers are repeating again and again.

About

A Java based GUI to find/show that the random() function is not fully unbiased. After iterating 1000 times we get that some numbers are repeating again and again.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages