home *** CD-ROM | disk | FTP | other *** search
Turbo Pascal Compiled 8bit CP/M-80 COM | 1986-02-10 | 11.3 KB | 77 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
- A This program performs a linear least squares fit. All input and
- C output is to the terminal. You need not turn on the printer. You
- < should keep paper and pencil handy to jot down the results.
- You are allowed a maximum of !7
- points per data set. You
- A need change only one line in the source code to accomodate more.
- 1 YOU SHOULD ENTER YOUR DATA IN THE FOLLOWING WAY:
- B 1. Type your first x value; type one or more spaces; type your y
- 3 value that goes with this x. Hit return.
- B 2. Repeat this procedure for all your (x,y) pairs EXCEPT FOR THE
- < LAST (x,y) pair. FOR THE LAST PAIR, see 3. below.
- C 3. For your last (x,y) pair, type the x; type one or more spaces;
- A type the y; type a * with ONE space between the y value
- ! and the *. Hit return.
- 0 Did you read these instructions carefully?
- ? Okay, ENTER YOUR DATA AS INSTRUCTED ABOVE [you will be given a
- A chance to correct errors after complete entry of all your data]:
- ENTER DATA NOW . . .
- +)]T)
- +)]T)
- ! These are your data as received:
- .) x = !r
- +)]T)
- y = !(
- +)]T)
- Are there any errors?
- & Begin by correcting your first error.
- 7 Type the following (where the <> mean to strike a key:
- < data point number <space> x <space> y <return> --->
- +)]T)
- +)]T)
- Any more errors?
- +)]T)
- +)]T)
- +)]T)
- +)]T)
- +)]T)
- +)]T)
- +)]T)
- slope = !
- intercept = !
- st. dev. slope = !
- st. dev. intercept = !
- the correlation coefficient is
- . Do you have another data set for analysis?
- . Do you have another data set for analysis?
-