[HP12C] Angular coefficent from linear regression off by 1

05032016, 11:56 AM
Post: #9




RE: [HP12C] Angular coefficent from linear regression off by 1
(05022016 02:50 PM)Werner Wrote: Something like this? Sort of, yes. ;) After you posted your code I wanted to add an improved version, but you were faster. Personally, I would prefer the slope returned in X and the yintercept in Y, but this can be changed easily. On the other hand your code returns the results the same way as my good old 34C (and maybe other HPs as well). BTW the 34C shows the correct slope: 11,09933164. ;) Dieter 

« Next Oldest  Next Newest »

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