Anonymous user
Statistics/Normal distribution: Difference between revisions
m
→{{header|REXX}}: changed wording in the output section.
m (→{{header|REXX}}: changed wording in the output section.) |
|||
Line 2,360:
parse value format(x,2,1,,0) 'E0' with g 'E' _ .; g=g*.5'e'_%2; do j=0 while h>9; m.j=h; h=h%2+1; end /*j*/
do k=j+5 to 0 by -1; numeric digits m.k; g=(g+x/g)*.5; end /*k*/; numeric digits d; return g/1</lang>
This REXX program makes use of '''scrsize''' REXX program (or BIF) which is used to determine the screen size of the terminal (console); this is to aid in maximizing the width of the horizontal histogram.
'''output''' when using the default input:
|