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.
|
- 50 rem 12/13/2019 Ken curve
- 60 SHELL "cls"
- 100 REM PLOT A NORMAL DISTRIBUTION CURVE
- 120 DEF FNN(X) = EXP(-(X^2/2))/SQR(2*3.14159265)
- 140 FOR X = -2 TO 2 STEP .1
- 150 LET Y = FNN(X)
- 160 LET Y = INT(100*Y)
- 170 FOR Z = 1 TO Y
- 180 PRINT " ";
- 190 NEXT Z
- 200 PRINT "*"
- 210 NEXT X
- 220 END
|