formula's with 2 caracter variables

06082016, 11:18 AM
(This post was last modified: 06082016 12:23 PM by TopQ.)
Post: #1




formula's with 2 caracter variables
Hi I try to get a formula working on my Prime. I cannot find in the user manual how to do it. Any help appreciated.
It keeps giving input syntax errors. I tried to drop the % and even one character variabels but it is not working. Formula Ceq= %C+((%Mn+%Si)/6)+((%Cr+%Mo+%V)/5)+((%Ni+%Cu)/15) Just want a list to fillin the available variables 

06082016, 12:52 PM
Post: #2




RE: formula's with 2 caracter variables
(06082016 11:18 AM)TopQ Wrote: Hi I try to get a formula working on my Prime. ... try: Ceq := C+((Mn+Si)/6)+((Cr+Mo+V)/5)+((Ni+Cu)/15) to assign something to a variable use := don't use % ∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C  DM42 WP34s :: Prime Soft. Lib 

06082016, 01:10 PM
Post: #3




RE: formula's with 2 caracter variables
Dear Salvomic
Thank you for your gesture, but Double variables like Mn, Si, etc are giving a sytaxerror. I can change Mn to M and Si to S, But will get problems with C an Cu. I tried to use a spreadsheet instaid, but as soon I type Si in a cell the complete HP connection program on my PC shuts down due to an error. Is there a simple way to type a formula and get a list of variables to fill in, or do I have to make a program for it? 

06082016, 01:32 PM
Post: #4




RE: formula's with 2 caracter variables
I forgot to say that if you are in Home upper case variables are reserved, so the Prime tries to do (i.e.) C*u and you get an error, in command line.
You can use that expression in a program or in CAS (if every variable is defined)... ∫aL√0mic (IT9CLU), HP Prime 50g 41CX 71b 42s 12C 15C  DM42 WP34s :: Prime Soft. Lib 

06082016, 05:54 PM
Post: #5




RE: formula's with 2 caracter variables
Thank you. that solved the problem


« Next Oldest  Next Newest »

User(s) browsing this thread: 1 Guest(s)