Post Reply 
(HP17BII) What way for a loop stop condition ?
05-09-2020, 08:09 PM (This post was last modified: 05-09-2020 08:13 PM by Nihotte(lma).)
Post: #5
RE: (HP17BII) What way for a loop stop condition ?
Based on Don Shepherd's suggestions and a new evolution of my equation, here is what it gives:

Code:

CT = Σ(I : 0 : L(W:N) x L(NB:0) + MAX : 1 :
       IF(G(W) > 1 : 
          L(NB : NB + 
        IF(FP( L(W : G(W) ÷ 2)) <> 0 :
               SGN( L(W : G(W)x6 + 1) ) :
               1
            )
          ) :
          0 ÷ 0
       )
     )

and the process becomes as follows :

[CALC] gives [CT] [N] [MAX] [NB]
DSP [ALL]
1000 [MAX]

3 [N]
[CT] --> SOLUTION NOT FOUND
RCL [NB] NB=7

27 [N]
[CT] --> SOLUTION NOT FOUND
RCL [NB] NB=111

La fin justifie les moyens !! (so, the end justifies the means)
Thanks Don Shepherd !
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: (HP17BII) What way for a loop stop condition ? - Nihotte(lma) - 05-09-2020 08:09 PM



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