Equation suffix



#7

I'm not sure what this is called, so I apologize if title confusing. Is there a way on HP35s to show the result of a program with a suffix indicating the units it is being displayed in? Meaning, if program return 1000 and this represents km, can I display 1000 km somehow?

I see in manual that you can display text by using the EQN and the flag settings, but I am not sure if you can concatenate a variable result and text. If anyone knows how, please let me know as I am trying to write some programs for aeronautical calculations that I plan to share, but I would like to include this with the program.


#8

No, you can't concatenate them.

Sorry!


#9

átok ez! I say in Hungarian as it not nice. It okay Gene, not your fault calculator can't do what I want it to.

#10

However, if you are really clever with flag 10 and the PSE and/or STOP commands, you might be able to have a message stored as an equation in the program and that message would say "km" or something, and so the answer come up, and then you press r/s and the units (the message stored as equation) come up afterwards.

Just a thought.

BTW Gene and or somebody else started a thread which showed how many different small letters could be generated on the 35S--you may manage to parse them into an equation-as-message!


#11

Actually, I am doing that with the inputs so people don't have to memorize what silly variable letters mean, and then PSE and then INPUT. With answer though, I would rather it be all on one line, that way, I can display two lines of information with Y and X reg.

#12

Quote:
Is there a way on HP35s to show the result of a program with a suffix indicating the units it is being displayed in? Meaning, if program return 1000 and this represents km, can I display 1000 km somehow?

That's a reasonable thing to want, and I've wondered about it.

Concatentation of strings and conversion of numbers to strings are not possible on the HP-35s. You can display a text message such as "AIRSPEED (KT)" followed by the value, using the Equation functionality and appropriate flags.

The long-discontinued RPN HP-42S and HP-41 (with X-functions?) could do those things, and the RPL HP-48/49/50 series actually allow units to be appended to value for use in calculations and display.

-- KS

Edited: 16 Aug 2007, 2:14 p.m.


#13

Quote:


...and the RPL HP-48/49/50 series actually allow units to be appended to value for use in calculations and display.


I have 48GX, and it take insane person to understand how to program that. I go insane first with 35s, then I will try and fall over that one.

#14

It took me many, many weeks, maybe several months, a few days a week, a hour or two a day to finally get a program to actually successfully run on the 48G and 48G+. And, I could NOT have done it without the 48G Series Advanced Users' Reference guidebook. The DEBUG function on the 48G series machines helped greatly, too, of course.

The 35s was/is easy (easier?) for me only because as a college boy, I used a 34C, and in those days, I was more able to read and understand things better... and the abject need of programming longish physical chemistry calculations so that I could get at least three to five hours of sleep at night! So, perhaps a little urgency might help you too, whatever it may be! :D


#15

I found it very easy to write easy programs on the 48--as long as they were strictly or nearly strictly keystroke-saver type programs (no looping or conditionals)--it really isn't any different from RPN keystroke except that you save it to a variable with a name, and you have to decide whether to have internal or external variables.

Once you decide to have any sort of sophistication or I/O, then you have to learn the structured paradigm or RPL rather than merely using its keystroke analog.

You also have the ability to program entirely with algebraic objects rather than RPN equation representation--the algebraics are easier to read and debug and this is a great advantage of both the 48 (RPL) series as well as the 35s.

That being said, I use the RPN machines for Ad-Hoc as well as standard programs quite a lot.

I also have Hrastprogrammer's 41C emulator on the 48.


#16

I try someday. It would be interesting to see a smiple 35s program converted to 48gx for simple keystroke saving. I do have advanced user manual and regular manual (I find online). Maybe there is easy example in one of those two books that I can follow.

Then again, learning to program 35s like getting earache in my eye, so I can only imagine what learning 48gx is like. ;)

#17

Hello,

the HP-41 could display ALPHA messages without the X-Functions module, of course.

The X-F added some more functions for manipulating ALPHA.

Slightly OT: There was an HP-41 module which featured unit-management,

I think (but I'm not sure here) it was the Petroleum Fluids Pac.

Another module, the AECROM, added kinda 'expression evaluation' to the HP-41!

Raymond


#18

Quote:
Another module, the AECROM, added kinda 'expression evaluation' to the HP-41!

A FOCAL langauage parser--taking alphanumeric input and parsing to an ad-hoc RPN program?

#19

You are correct Raymond. The Petroleum Fluids pac does have unit management.

For example, you could convert from lbf/in3-Pa/m3 and XEQ CON. interestingly, if you wanted to convert the inverse, you would XEQ INCON. (or acre*ft-m2*cm)

What a powerful tool for the budding engineer! It was miles ahead of the competition (TI, Casio, Sharp etc had nothing even close), and I am certain was the primary reason I made it through petroleum thermodynamics.

And I continue to use it today. The PC just seems so clunky.


Possibly Related Threads...
Thread Author Replies Views Last Post
  Equation Library/App for the Prime Harold A Climer 3 1,307 10-30-2013, 10:14 AM
Last Post: CompSystems
  Equation Library on the PRIME Harold A Climer 0 790 10-26-2013, 10:01 AM
Last Post: Harold A Climer
  Meltiple Equation Solver PRIME Vs. HP 50G Harold A Climer 5 1,358 10-07-2013, 05:11 PM
Last Post: CR Haeger
  EOT--TI N-Spire Equation Limit Matt Agajanian 2 996 09-22-2013, 12:37 PM
Last Post: Matt Agajanian
  Does Prime Have a Multiple Equation Solver? Norman Dziedzic 2 997 09-20-2013, 09:43 AM
Last Post: Norman Dziedzic
  Equation of the parabola given three points Gerson W. Barbosa 27 4,920 09-18-2013, 01:58 PM
Last Post: Gerson W. Barbosa
  HP 50g: Customize Your Equation Library Software49g 2 989 05-27-2013, 12:39 PM
Last Post: Software49g
  A very long HP-17BII equation Gerson W. Barbosa 22 4,018 04-19-2013, 12:37 AM
Last Post: Gerson W. Barbosa
  Web Equation Thomas Klemm 3 1,200 03-21-2013, 03:16 AM
Last Post: Nick_S
  Tangent's equation program for HP39gII Mic 22 4,477 03-01-2013, 11:14 AM
Last Post: Tim Wessman

Forum Jump: