G4_G3_G2 Program

Discussion around the Swiss Micros DM42 calculator.
Post Reply
ratwolf
Posts: 7
Joined: Fri Feb 12, 2021 1:00 am

G4_G3_G2 Program

Post by ratwolf »

G2 is simply wrong. Calculates just one of the roots correctly. Try 1,1,-1 for example
Thomas Okken
Posts: 877
Joined: Tue May 02, 2017 5:48 pm
Location: United States
Contact:

Re: G4_G3_G2 Program

Post by Thomas Okken »

I don't have my DM42 at hand, but assuming the G4_G3_G2 program is the same as the one on my web site, this is what I get when I try your example:

Code: Select all

                XEQ "G2"
A=                     1
                1    RUN
B=                     1
                1    RUN
C=                    -1
               -1    RUN
                     PRX
    0.61803398875    ***
                     RUN
                     PRX
   -1.61803398875    ***
ratwolf
Posts: 7
Joined: Fri Feb 12, 2021 1:00 am

Re: G4_G3_G2 Program

Post by ratwolf »

Uuups, yes you are right. Have to press R/S one more time. I thought it will show the 2 roots simultaniously on the stack in Y and X.
As there is not much documentation of program(s) I have to lookup the code next time...
Sorry for the bandwith
Thomas Okken
Posts: 877
Joined: Tue May 02, 2017 5:48 pm
Location: United States
Contact:

Re: G4_G3_G2 Program

Post by Thomas Okken »

No problem!

It would be better if there were a bit of documentation with all the programs in my collection, but I just post them the way I receive them, and many come with no instructions at all, unfortunately.
User avatar
salvomic
Posts: 182
Joined: Sat Dec 30, 2017 10:09 am
Location: Ragusa, Sicily
Contact:

Re: G4_G3_G2 Program

Post by salvomic »

Thomas Okken wrote:
Mon Mar 01, 2021 1:18 pm
No problem!

It would be better if there were a bit of documentation with all the programs in my collection, but I just post them the way I receive them, and many come with no instructions at all, unfortunately.
I'm testing that program. I also hope that the author would like to give some documentation or help and examples for G4_G3_G2, thank you.
Salvo
∫aL√0mic (IT9CLU) :: DM42 (SN: 00881), DM41X (SN 00523), DM16, HP Prime, 50g, 41CX, 42s, 71b, 15C, 12C, 35s, WP34s -- Free42
Post Reply