HP strange RPN operation???


by cwalken
Tags: operation, strange
cwalken
cwalken is offline
#1
Nov2-09, 08:56 PM
P: 1
I just find an odd behavior on my hp rpn operation. Can someone try the following sequence of entry and explain to me this strange behavior?

Press 5 (any number will do).
Press 'Enter' (this should duplicate 5 to x an y stacks)
Press 'Enter' again (duplicate 5 again so now x,y and z stack are all 5)
Press 'RDn' to rotate stack 4 times (this should bring the stack configuration back to the same, x,y and z stack are all 5. The stack should read (5,5,5,0) for (x,y,z,t).
Now press 10 and then *.

Normally, I would expect the stack to be (50, 5, 5, 0) for (X, Y, Z, T). But if you follow the above step, you will get (50, 5, 5 ,5). Am I missing something here?
Phys.Org News Partner Science news on Phys.org
Going nuts? Turkey looks to pistachios to heat new eco-city
Space-tested fluid flow concept advances infectious disease diagnoses
SpaceX launches supplies to space station (Update)
Jim1138
Jim1138 is offline
#2
Nov8-09, 03:26 AM
P: 48
That is the correct behavior. The T register is not zeroed, but remains the same. If you press 2 / enter / enter / enter, then press + many times, you will get 2, 4, 6, 8, 10, 12, 14, 16...


Register to reply

Related Discussions
BJT(npn) physical operation help! Atomic, Solid State, Comp. Physics 5
closed operation General Math 3
Cutting Operation Materials & Chemical Engineering 0
Binary operation Set Theory, Logic, Probability, Statistics 3
Binary Operation Calculus & Beyond Homework 3