|Some fun during lunch|
Message #1 Posted by Miguel Toro on 27 July 2007, 7:15 p.m.
Reading complains about the 35s unable to separate real and imaginary parts from a complex number, I made these little and unambitious programs to "help" get them apart and to try some of the new features.
1.- execute the program
2.- Enter complex number as xiy - R/S
--> now you see the number in polar mode
3.- Enter angle - R/S
--> you see the number in polar mode again
4.- Enter radius - R/S
--> you get both x and y separated.
With programs A and B, they are in the X and Y registers, with program C you get a vector.
A001 LBL A
A003 r@a (polar mode)
A015 xiy (rectangular mode)
B001 LBL B
B008 REGY * SIN(REGT)
B009 REGY * COS(REGT)
C001 LBL C
note: I am having fun like a little kid :-)
Well, pure RPN is smaller and faster (but speed does not really matters here) and this could be just the spark for someone to write a "real" converter.