I have a carpentry trigonometric program written in algebraic mode. I got it to go in RPN, but programmed in the original algebraic, I only get "syntax error" as the result. HP35s should do both?
programming HP35s in algebraic mode, please.
|
|
« Next Oldest | Next Newest »
|
▼ ▼
Post: #3
01-14-2011, 09:02 PM
From the 35s manual:
Quote: ▼
Post: #4
01-15-2011, 12:16 AM
I tried to do all steps and execution in algebraic. I switch mode to algebraic....get it in programming mode. The program reads something like: Sto D, x,Rcl A, +,....etc...So, I hit Sto D and it shows a right arrow and the D, and so I hit enter and fill in the next line or command. RPN mode displayed "Sto D", not right arrow D, but there may be a different display language in algebraic. I followed the program in this carpentry book and it just displays "syntax error". I had translated the book's algebraic to RPN by some forum's help, years ago, and the program is fantastic. The calculator is supposed to do both and a calculator in my childish algebraic would be less thought on the job. ▼
Post: #5
01-15-2011, 08:36 AM
Kip, Can your reduce the program to a small example that shows the problem that you're having? If we can see something specific, we can probably help. Dave
Post: #6
01-15-2011, 09:18 AM
I'm not sure if I got your point, and to me all this sounds much more complicated than it actually is, so maybe it's a good idea to simply recall some basics here:
Dieter ▼
Post: #7
01-15-2011, 05:41 PM
Thank you for your responses. Don't go overboard for me....protect your time, if you need to. But I'm reading and will be trying. At the end of this I will put down the full programs and their intent. And printing what you've put down and bringing that to my kid's tutor has already gotten me there, undoubtedly. ▼
Post: #8
01-15-2011, 06:58 PM
Thank you for your responses. Don't go overboard for me....protect your time, if you need to. But I'm reading and will be trying. At the end of this I will put down the full programs and their intent. And printing what you've put down and bringing that to my kid's tutor has already gotten me there, undoubtedly. Dieter's post starting: " I'm not sure..." will probably be over my head, but let me address something. Point #1, On changing modes frequently, I may never go to RPN, again, if I can program and run algebraic and so explaining "RPN resp. ALG" may be time wasted. "resp." may mean respond as, but I don't find that as a button or key. Point#2: I think that my former small successes in RPN had the display TOP as top of the list. I only will do this one "rake wall" program, so I'm not labeling my program. It sounds like I could leave my great RPN program in there and line one could be that ALG command, but what buttons to push. But...I shouldn't go down that road, huh? I think Dieter's point#1, and line starting "Every program..." is what I need to plod towards. And this guy can help me, I'm sure. I prefer this as a project with you guys, but I have 4 day blocks off the computer, so don't feel ignored. That "Classic version..and Using equations" almost looks like I could learn that with some quiet hours. Or that guy. Thanks. Program from "Carpentry Layout", Ken Todd, '88.
I assume ALG. STO D, And this program needed Height Multipier in MEM A: 2/12=0.1666667, STO A. And the Rake Multiplier in MEM B: 2 squared + 12 squared=an answer, square root of, /12=1.0137938, STO B. And the height or length of the first stud...maybe 92.25, STO C.
With a forum's help I think that I learned how to interpret that into RPN. It works for me, but I yearn for the ALG.
So, it's: STO D, And remember that all is over my head and I just need to get the one program in ALG, or, heck, I can always just this last in RPN. Still a good day. Thanks for reading, if nothing else. Right now Carmel Valley is warmer than my house and so I have the doors wide open in January.
Post: #9
01-15-2011, 07:06 PM
Since the original program is from '88 it obviously wasn't programmed on a 35s which appeared almost 20 years later. Many things are different today - for instance there is no "="-key to finish a calculation, ENTER is used instead. Anyway - without extensive explanations, simply try this:
All this just scratches the surface of what your HP35s can do for you. You will have to read the manual and get more accustomed to it to use its full potential. Your carpentry program could be much more powerful and way easier to use. ;-) Dieter ▼
Post: #10
01-16-2011, 12:04 AM
I can't write in columns. Not savvy. Sorry. ▼
Post: #11
01-16-2011, 08:32 AM
Quote:You can. For a new paragraph simply press Return twice. Or press the "newline" button below the edit window, this will insert a [nl]. If you want to look everything the way you entered (like the program listing above) use the "preformatted" button or enclose that section in [pre] ... [/pre] tags. Quote:Right - my fault. Although the program can run both in ALG and RPN mode, it has to be entered in RPN mode, not in ALG. So press MODE 5 (not 4), then switch to program mode, enter the listing, quit program mode and switch back to ALG with MODE 4. Quote:What "MEM B"? There is no such key on the 35s. To store a number use the STO key, to recall a number use the RCL key. The "MEM" is something completely different, it shows the memory used for variables and programs. Just try again, set MODE 5, enter the program, switch back to MODE 4 and everything should work as expected. Dieter ▼
Post: #12
01-16-2011, 06:28 PM
Wow. I was reading Dieter's 2y,up arrow, x, 2 as the x2 button, but then I recouped after 45 mins. of Syntax Error and spied the y-thing button. It works.....It works! Thank you, Dieter. None of my TI-30xA had that....no, I see it. Just never really saw it. My next move will be to try to understand how all those STO E's...etc....really work. The Program. You got me as far as I'd intended to go, but I like your idea of spending time with that manual tome.
Return twice worked? I'm doubting that one.Preformat? Try. REPLACE THIS TEXT WITH YOUR LISTINGline 1 line 2 ...doubt..not important. line 3...etc Thank you guys, so much. Doubt I'm welcome back. All your bruised foreheads! |