Project translated automatically.
Log in
or
register,
to view the original
The Function
1 . Write your own method:
Double gen in the Generator class.
which will realize the algorithm of the pseudopathic numbers generator. The generator has to
Double numbers from 0 to 1.
The 2nd Fill a massive of several thousand elements with the numbers obtained from the recorded
the generator.
3 . Assess the quality of the recorded generator by calculating the average value and standard deviation.
numbers from the table (point 2) and compare them with theoretical values (knowledge of the
The Theory of Probability.