Anonymous user
Statistics/Normal distribution: Difference between revisions
m
→{{header|REXX}}: changed font size to 75%.
m (→{{header|REXX}}: increased decimal digits, added whitespace and comments, elided 2nd graph, optimized some functions.) |
m (→{{header|REXX}}: changed font size to 75%.) |
||
Line 2,377:
=={{header|REXX}}==
The REXX language doesn't have any "higher math" BIF functions like SIN, COS, LN, LOG, SQRT, POW, etc,
<br>so we hoi polloi programmers have to roll our own.
<lang rexx>/*REXX program generates 10,000 normally distributed numbers (Gaussian distribution).*/
Line 2,438:
(The output shown when the screen size is 62<small>x</small>140.)
The graph is shown at <big>'''<sup>3</sup>/<sub>4</sub>''' size.
<pre style="font-size:75%">
number of data points = 10000
minimum = -3.8181072371544448250
|