mercredi 25 octobre 2017

How do I generate random number with normal distribution in specific range(for example [0,1]) in C programming? [duplicate]

This question already has an answer here:

I know that how to generate random number with normal distribution, but my problem is determining range of numbers are produced. I need these numbers for random electrons velocities(dimensionless) that which are between zero and one.




Aucun commentaire:

Enregistrer un commentaire