50g group photo

Yahoo Groups archive

50g

Archive for 50g.

Index last updated: 2026-03-30 00:59 UTC

Thread

Program

Program

2008-11-12 by Mateusz Drabek

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

Re: Program

2008-11-13 by gregmraymond

I started out already knowing rpn on the 42s, but as far a programming,
the rpl programming language was a whole new thing to me. Search up the
manuals, and "advanced programming techniques" for the 48 and 49 I
believe. That alone should get you on the road.

Re: Program

2008-11-14 by Shawn D. King

--- In 50g@yahoogroups.com, Mateusz Drabek <sq9iws@...> wrote:
>
> 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
>
>

Hi Mateusz,
This should do something similar to what you want:

<< ¨ a b c d
<< a "Value a" ¨TAG
b "Value b" ¨TAG
c "Value c" ¨TAG
d "Value d" ¨TAG
"(" d ¨STR +
"*" + a ¨STR +
")-(" + b ¨STR +
"*" + a ¨STR +
")" +
"---------"
"(" c ¨STR +
"-" d ¨STR +
")" +
"RESULT:"
d a * b a * -
c d - /
>>
>>

Regards,
~S