LadyButterfly she/her@piefed.blahaj.zone to Science Memes@mander.xyzEnglish · 2 months agoI dunnolockpiefed.cdn.blahaj.zoneimagemessage-square764fedilinkarrow-up1811arrow-down180
arrow-up1731arrow-down1imageI dunnolockpiefed.cdn.blahaj.zoneLadyButterfly she/her@piefed.blahaj.zone to Science Memes@mander.xyzEnglish · 2 months agomessage-square764fedilink
minus-squarebrown567@sh.itjust.workslinkfedilinkEnglisharrow-up40arrow-down1·2 months ago2 5 8 5 - × + for you RPN fans =)
minus-squarechonglibloodsport@lemmy.worldlinkfedilinkEnglisharrow-up4·2 months agoActually: 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
minus-squareexcral@feddit.orglinkfedilinkEnglisharrow-up4·2 months agoYou could do 8 <enter> 5 - 5 × 2 + -> 8 keystrokes
minus-squarechonglibloodsport@lemmy.worldlinkfedilinkEnglisharrow-up2·2 months agoBut that’s a specific optimization where you can no longer read the numbers left to right, the original intent of RPN.
minus-squareNindelofocho@lemmy.worldlinkfedilinkEnglisharrow-up3·2 months agoIm terrible at math, what is this though?
minus-squareMimicJar@lemmy.worldlinkfedilinkEnglisharrow-up22·edit-22 months agoRPN or Reverse Polish Notation is a notation for calculators to be less ambiguous. The last numbers use the operator to their right, repeat. So no need for parenthesis or PEMDAS. 2 5 8 5 - × + (8 - 5 = 3) 2 5 3 × + (5 × 3 = 15) 15 2 + (15 + 2 = 17) 17
minus-squareNindelofocho@lemmy.worldlinkfedilinkEnglisharrow-up5·2 months agoThis might actually help me thank you!
minus-squareNindelofocho@lemmy.worldlinkfedilinkEnglisharrow-up3·2 months agoThis might actually help me thank you!
2 5 8 5 - × + for you RPN fans =)
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
You could do
8 <enter> 5 - 5 × 2 +-> 8 keystrokes
8 5 - 5 * 2 + CR .
But that’s a specific optimization where you can no longer read the numbers left to right, the original intent of RPN.
Im terrible at math, what is this though?
RPN or Reverse Polish Notation is a notation for calculators to be less ambiguous. The last numbers use the operator to their right, repeat. So no need for parenthesis or PEMDAS.
This might actually help me thank you!
Reverse Polish Notation
This might actually help me thank you!
See also