ChipMaster's bwBASIC This also includes history going back to v2.10. *WARN* some binary files might have been corrupted by CRLF.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

14 lines
307 B

  1. 50 rem 12/13/2019 Ken curve
  2. 100 REM PLOT A NORMAL DISTRIBUTION CURVE
  3. 120 DEF FNN(X) = EXP(-(X^2/2))/SQR(2*3.14159265)
  4. 140 FOR X = -2 TO 2 STEP .1
  5. 150 LET Y = FNN(X)
  6. 160 LET Y = INT(100*Y)
  7. 170 FOR Z = 1 TO Y
  8. 180 PRINT " ";
  9. 190 NEXT Z
  10. 200 PRINT "*"
  11. 210 NEXT X
  12. 220 END