Post Reply 
HP-42s Entering 4 complex numbers on the stack
06-10-2023, 07:29 PM (This post was last modified: 06-10-2023 07:39 PM by C.Ret.)
Post: #15
RE: HP-42s Entering 4 complex numbers on the stack
Hi,

I'm a little surprised to read that there is no way on the 42S to put four complex numbers in the stack. While this is possible on an HP-15C. This is a bit tricky, since you must use the sequence [<-] [Re↔Im] [<-] to modify the two parts of the X-register to INPUT the last complex of a complete stack.

But the typing:
41 ENTER 402 f I 31 ENTER 302 f I 21 ENTER f I 202 enter the first three complex numbers in the stack
ENTER make a copy of the last entry
<- 102 f Re↔Im <- 11 enter last complex with no stack move
and finally:
R↓ f (i) R↓ f (i) R↓ f (i) R↓ f (i) lists the real and imaginary contents of the full stack

Code:
T: 41 + 402 i
Z: 31 + 302 i
Y: 21 + 202 i
X: 11 + 102 i

Really, there's no other way than to use a 27-lines program to fill the stack with complex entries?

Amazed I am!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP-42s Entering 4 complex numbers on the stack - C.Ret - 06-10-2023 07:29 PM



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