HP Forums

Full Version: Quadratic & Cubic Regression RPN progs
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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.

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.

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

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

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.

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?

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

Thanks again.

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

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?

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.