(45) StraightLine Fitting

01312020, 12:34 PM
Post: #1




(45) StraightLine Fitting
The HewlettPackard HP45 pocket calculator includes a key ∑+ that accumulates and stores the sums ∑1(=n), ∑x, ∑x², and ∑y, with another key that directs the calculator to compute the mean of x and its standard deviation. An independent y entry can be summed simultaneously.
Another problem occurring often in data reduction is to find the leastsquares slope and intercept of a straight line and their standard deviations. For this case the sums ∑xy and ∑y² are needed, in addition to those provided by the ∑+ key. An efficient (though not unique) procedure for accumulating the necessary sums with the HP45 is the following: In succession, key in the data pairs (xi, yi) together with keyboard steps in the order: xi, ENTER↑, ENTER↑, yi, ENTER↑, STO + 3, X², STO + 4, R↓, ×, x⇄y, ∑+. After processing all data pairs in this manner the sums can be recalled from storage as needed, with ∑y in R3, ∑y² in R4, n in R5, ∑x² in R6, ∑x in R7 and ∑xy in R8. It is then a simple task to calculate the slope, intercept, and standard deviations using the wellknown leastsquares formulas. If the standard deviations are not required, the sum ∑y² can be omitted, with a saving of six keyboard steps (steps 5, 9, 10, 11, 12, 13 in the previous list). source: AJP Volume 42, COMPUTER NOTES, StraightLine Fitting with an HP45 Calculator, W. C. ELMORE (Swarthmore College), April 1974, pg. 253 BEST! SlideRule 

« Next Oldest  Next Newest »

Messages In This Thread 
(45) StraightLine Fitting  SlideRule  01312020 12:34 PM
RE: (45) StraightLine Fitting  Thomas Klemm  03102024, 02:26 PM
RE: (45) StraightLine Fitting  Namir  03112024, 11:28 AM

User(s) browsing this thread: 1 Guest(s)