Quadratic & Cubic Regression RPN progs Matt Agajanian Posting Freak Posts: 980 Threads: 239 Joined: Aug 2006 09-15-2013, 12:01 AM 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. Pier Aiello Member Posts: 120 Threads: 14 Joined: May 2013 09-15-2013, 02:53 AM 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. Matt Agajanian Posting Freak Posts: 980 Threads: 239 Joined: Aug 2006 09-15-2013, 03:08 PM 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: Thanks Pier Aiello Member Posts: 120 Threads: 14 Joined: May 2013 09-15-2013, 04:33 PM Dunno, i don't have one. Maybe on the 42s manual is explained or i'll do another search when i have time. Andrew Feist Junior Member Posts: 18 Threads: 0 Joined: Aug 2012 09-15-2013, 10:13 PM 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. Tom Grydeland Member Posts: 54 Threads: 13 Joined: Feb 2012 09-16-2013, 05:50 AM 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? Matt Agajanian Posting Freak Posts: 980 Threads: 239 Joined: Aug 2006 09-16-2013, 04:57 PM Okay. Thanks. Moving on, because the ' \ ' symbol is unfamiliar, please clarify steps 52, 91, 94, 190, 225, 229, 243, 259. Thanks again. Jeff O. Posting Freak Posts: 875 Threads: 37 Joined: Jul 2005 09-17-2013, 09:17 AM 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 Tom Grydeland Member Posts: 54 Threads: 13 Joined: Feb 2012 09-17-2013, 09:31 AM 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? Jeff O. Posting Freak Posts: 875 Threads: 37 Joined: Jul 2005 09-17-2013, 11:37 AM 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. « Next Oldest | Next Newest »

 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 545 11-05-2013, 02:44 AM Last Post: Marcus von Cube, Germany Cubic root (-8) = 2 ? Gilles Carpentier 37 2,053 08-12-2013, 10:26 PM Last Post: jep2276 WP34s program submission: Quadratic fit Andrew Nikitin 2 291 06-13-2013, 02:44 AM Last Post: Paul Dale OT: Excel regression modeling using VBA Namir 0 166 12-06-2012, 10:05 AM Last Post: Namir Where is linear regression on an HP-41 Palmer O. Hanson, Jr. 22 1,113 08-13-2012, 10:43 PM Last Post: Gerson W. Barbosa New Quadratic Lagrangian Interpolation Method Namir 2 279 07-20-2012, 04:32 PM Last Post: Namir Fast Quadratic Formula for the HP-41C Gerson W. Barbosa 21 1,359 07-18-2012, 08:53 AM Last Post: Gerson W. Barbosa Cubic Formula: HP 71B Eddie W. Shore 8 597 07-03-2012, 11:14 PM Last Post: Eddie W. Shore Quadratic formula program help Chris C 18 1,151 06-16-2012, 12:14 AM Last Post: Matt Agajanian WP 34S linear regression bug Nigel J Dowrick 9 591 05-12-2012, 06:23 PM Last Post: Paul Dale

Forum Jump: