Jump to content

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 &nbsp; '''scrsize''' &nbsp; REXX program (or BIF) which is used to determine the screen size of the terminal (console); &nbsp; this is to aid in maximizing the width of the horizontal histogram.
 
<br>The &nbsp; '''SCRSIZE.REX''' &nbsp; REXX program is included here &nbsp; ──► &nbsp; [[SCRSIZE.REX]]. <br>
 
'''output''' &nbsp; when using the default input:
Cookies help us deliver our services. By using our services, you agree to our use of cookies.