mardi 3 octobre 2023

How to test distribution of the random class

When a user gets a random number within a certain range through a random class, the distribution of the number obtained will be very even if the test is ran very much. In short, the distribution is flat. I want to make a code that proves this content in Java. Simply running the code indefinitely is not very practical. What ideas could there be?




Aucun commentaire:

Enregistrer un commentaire