Im terrible at math, what is this though?
Comment on I dunno
brown567@sh.itjust.works 2 days ago
2 5 8 5 - × + for you RPN fans =)
Nindelofocho@lemmy.world 2 days ago
MimicJar@lemmy.world 2 days ago
RPN or Reverse Polish Notation is a notation for calculators to be less ambiguous. The last numbers use the operator to their right, repeat.
- 2 5 8 5 - × +
- (8 - 5 = 3)
- 2 5 3 × +
- (5 × 3 = 15)
- 15 2 +
- (15 + 2 = 17)
- 17
Nindelofocho@lemmy.world 2 days ago
This might actually help me thank you!
BrambinagStoneboots@lemmy.world 2 days ago
Nindelofocho@lemmy.world 2 days ago
This might actually help me thank you!
Revan343@lemmy.ca 2 days ago
chonglibloodsport@lemmy.world 2 days ago
Actually:
2 <enter> 5 <enter> 8 <enter> 5 - x +
10 keystrokes
I use RPN on my phone calculator for fun but it can also be annoying sometimes.
On my CASIO FX-260 Solar II calculator (super cheap, really nice and simple but also powerful) that would be:
2 + 5 ( 8 - 5 ) =
9 keystrokes
excral@feddit.org 2 days ago
You could do
8 <enter> 5 - 5 × 2 +-> 8 keystrokes
oatscoop@midwest.social 2 days ago
8 5 - 5 * 2 + CR .
chonglibloodsport@lemmy.world 1 day ago
But that’s a specific optimization where you can no longer read the numbers left to right, the original intent of RPN.