The Museum of HP Calculators

HP Forum Archive 06

[ Return to Index | Top of Index ]

Programming w/multiple var's
Message #1 Posted by edward on 8 June 2001, 8:37 a.m.

I just spent the last day trying to do with my 48G what I could easily do with my old 32S, and getting frustrated. Someone please verify that you indeed can not do this with the 48G. I want to write a program to execute an equation which will prompt me to enter values for variables. Then solve the equation with my user inputs. And I am not happy with the idea of loading all my inputs on the stack and having to remember the specific order to enter them in so they get assigned to the proper variables. That is terrible. With the 32S, I could have the calculator give me a blinking variable name with a question mark and I could enter the value I want to use and continue executing the program. It was very nice. For example I want to hav ethe calculator prompt me, one at a time for 'length' and 'radius' and use these values along with Pi to give volume of a right circular cylinder. I don't want to have to remember that I have to enter L, then R, in the stack because that's the order that the program will use them. That is how I believe I have to do it with the 48G. Thanks,

      
Fortyeightaphobia
Message #2 Posted by Joe Panico on 8 June 2001, 2:19 p.m.,
in response to message #1 by edward

Edward,

You're simply experiencing what many must overcome changing from previous HP's to a 48. Just keep repeating "It doesn't need an equal key, it doesn't need an equal key!"

There are differences with the 32 but when you learn the features of the 48 you'll understand how similar they are. I'll email you directly.

Joe

      
My reply
Message #3 Posted by Joe Panico on 8 June 2001, 4:01 p.m.,
in response to message #1 by edward

Edward, I sent a brief explaination but your email bounced. Please send the correct one to me.

Joe

      
Re: Programming w/multiple var's
Message #4 Posted by Juan J on 8 June 2001, 8:01 p.m.,
in response to message #1 by edward

The 48's Solve application can do what you need. Just key in the equation (using the Equation Writer if you want), make it the current equation with STEQ [ENTER] and execute SOLVE.

Tha application will take the equation stored in EQ and will create variables. It is an input screen in which you fill the blanks. Once you have entered your data , go to the unknown variable and press [SOLVE]. The Solver will do the rest. No programming is needed.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall