Re: [50g] Program (rpn example vol)
2008-11-12 by Fred Hoeldtke
I suggest learning Reverse Polish Notation ( Operator Last Technique) a quick example and best luck to you. "vol" < -> a b c < a b c * * 'vol' sto vol 'vol' ->tag>
Show quoted textHide quoted text
----- Original Message ----- From: Mateusz Drabek To: 50g@yahoogroups.com Sent: Wednesday, November 12, 2008 2:00 PM Subject: [50g] Program Hello! Could somebody help me or write simple programme for HP-50g. I have never programmed and I don't know how to deal with. Currently for each time I write in the values manually in EQW. I have 4 values and I must make calculation according to formula: (d*a)-(b*a) ----------- (c-d) I would like that after runing the programm I should give for example: "Value: a:" "Value: b:" "Value: c:" "Value: d:" (d*a)-(b*a) ----------- (c-d) "RESULT:" Example: "Value: a:" 10 "Value: b:" 0 "Value: c:" 14 "Value: d:" 5 (5*10)-(0*10) ----------- (14-5) "RESULT:" 5,55 Regards, Mateusz ------------------------------------------------------------------------------ Czy już jesteś w Yahoo!? Masz dosyć spamu? Poczta Yahoo! dysponuje najlepszą ochroną przed spamem http://pl.mail.yahoo.com ------------------------------------------------------------------------------ No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.175 / Virus Database: 270.9.2/1783 - Release Date: 11/12/2008 10:01 AM