Quadratic & Cubic Regression RPN progs
#1

Hello all.

I'm looking for programs for Cubic and Quadratic Regression programs so that I can program HP-67, HP-34C, HP-41/42S and the other programmable Voyagers, Spices, etc.

Thanks

Edited: 15 Sept 2013, 12:01 a.m.

#2

With a quick search i have gathered some discussions (from MoHPC) here: Best discussions of Hp calcs' community (wiki4hp)

Edited: 15 Sept 2013, 2:58 a.m.

#3

Hello there.

Thanks for the link. What would help me out greatly is if you can tell me what the special symbols (the ones like \lf\->, \->, etc.) in steps 36, 37, 41 and 42 are of the HP-42S program here:

PolyFit for 42S


Thanks

#4

Dunno, i don't have one. Maybe on the 42s manual is explained or i'll do another search when i have time.

#5

I'm pretty sure \lf is "line feed" and \-> is "arrow". Don't have a 42, so I don't know how to actually type those in.

#6

Quote:
What would help me out greatly is if you can tell me what the special symbols (the ones like \lf\->, \->, etc.) in steps 36, 37, 41 and 42 are

\lf is line feed. In the alpha menu (p.2) choose "PUNC", then button 6 from p2 of that menu (hencerforth Alpha/2 > punc/2 > LF)

\-> and \<- are arrows. Alpha/2 > [arrows] > your choice

\SIGMA is the capital greek letter. Alpha/2 > math > \SIGMA

Any other symbols unclear?

#7

Okay. Thanks. Moving on, because the ' \ ' symbol is unfamiliar, please clarify steps 52, 91, 94, 190, 225, 229, 243, 259.

Thanks again.

#8

Matt,

I believe the "\" (back-slash) symbol is some sort of "escape" character that the original author used to format the program listing. It is not a command or part of a command to be entered into the calculator. So wherever you see the backslash, just take it out. So your questioned lines would look as follows:

36 |-" [x,y]LF-> Y, na"
37 |-"t# order -> x .."
41 |-"d inLFvars SIGMADAT"
etc.

The "|-" is the append symbol, entered by pressing ENTER after entering alpha entry mode.

I believe that the "*" symbol is intended to be the multiply symbol, which on the 42s is shown as an "x" (lower-case X) elevated one pixel.

As Tom said above, the "LF" is the line feed character, which is on the second page of the PUNC menu in alpha mode.

Hope this helps.

Jeff

#9

Jeff O. said:

Quote:
I believe the "\" (back-slash) symbol is some sort of "escape" character that the original author used to format the program listing. It is not a command or part of a command to be entered into the calculator. So wherever you see the backslash, just take it out.

That's the way I read it also. I would say "replace the \ and the character(s) that immediately follow with the (unprintable) character they are meant to represent."

So, the string "\->" in the listing represent _one_ character in a HP-42S string, namely {right arrow}.

Similarly, I suppose "\.." represents the "ellipsis" character, Alpha/2 > Punc/2 > {...}

Does anyone have instructions on how to actually use this program?

#10

Quote:
I would say "replace the \ and the character(s) that immediately follow with the (unprintable) character they are meant to represent."

Yes, that is a better way to explain it.

I did not think to look for the ellipsis in the PUNC menu. He probably meant that, but I wonder why he did not type three dots in the listing.

Regarding how to use, I have no personal knowledge. The PREGR.TXT file available at hpcalc.org tells how to use the HP-48 version.



Edited: 18 Sept 2013, 7:50 a.m.



Possibly Related Threads…
Thread Author Replies Views Last Post
  [PRIME] RPN: another attempt at returning more than one value to the RPN stack Marcus von Cube, Germany 5 2,498 11-05-2013, 02:44 AM
Last Post: Marcus von Cube, Germany
  Cubic root (-8) = 2 ? Gilles Carpentier 37 10,435 08-12-2013, 10:26 PM
Last Post: jep2276
  WP34s program submission: Quadratic fit Andrew Nikitin 2 1,274 06-13-2013, 02:44 AM
Last Post: Paul Dale
  OT: Excel regression modeling using VBA Namir 0 875 12-06-2012, 10:05 AM
Last Post: Namir
  Where is linear regression on an HP-41 Palmer O. Hanson, Jr. 22 5,632 08-13-2012, 10:43 PM
Last Post: Gerson W. Barbosa
  New Quadratic Lagrangian Interpolation Method Namir 2 1,387 07-20-2012, 04:32 PM
Last Post: Namir
  Fast Quadratic Formula for the HP-41C Gerson W. Barbosa 21 6,327 07-18-2012, 08:53 AM
Last Post: Gerson W. Barbosa
  Cubic Formula: HP 71B Eddie W. Shore 8 2,978 07-03-2012, 11:14 PM
Last Post: Eddie W. Shore
  Quadratic formula program help Chris C 18 4,978 06-16-2012, 12:14 AM
Last Post: Matt Agajanian
  WP 34S linear regression bug Nigel J Dowrick 9 3,010 05-12-2012, 06:23 PM
Last Post: Paul Dale

Forum Jump: