home *** CD-ROM | disk | FTP | other *** search
Turbo Pascal Compiled 8bit CP/M-80 COM | 1986-02-10 | 9.6 KB | 55 lines |
- Copyright (C) 1984 BORLAND Inc
- Pseudo TeleVideo 910P
- C0000
- ^#V#N#F
- s#r#q#p
- #^#V
- 9^#Vh&
- |/g}/o#
- T]=o`9y
- T9^K#
- 8/<oz
- T9^K#
- oGOW_g
- `1pF,
- w###6
- ##N#F*
- Nw#Fw
- q#p#6
- #w#w#w
- TRUEFALSE
- N#F#s#r
- N#F#^#V
- " C}=(
- F+N+++V+^
- q#p##
- User break
- Run-time
- error
- , PC=
- Program aborted
- =This program computes an approximation to pi. The method and
- Bterminology follow that in Scientific American, April 1985, p. 20.
- @Turn the printer OFF. Set a page to about three lines below the
- $top. NOW, turn the printer back on.
- Did you do as instructed?
- + Pi Approximation (TURBO Pascal)
- 'How many shots do you want (maximum of !
- ) per trial?
- (How many trials do you want (maximum of !
- trials)?
- +)]T)
- +)]T)
- +)]T)
- run*
- *
- shots Pi approx =
- +)]T)
- avg. so far =!
- +)]T)
- Over these*
- ! runs, the standard deviation is
- The true value of pi is!
- Do you want to do this again?
- Do you want to do this again?
-