Pocket Calculator

This Demonstration simulates a simple pocket calculator.
MC clear memory
MR recall number stored in memory
MS store number in memory
M+ add number to memory
Clear set displayed number to zero
CE abandon operation and set displayed number to zero
+/- change sign of number
+ add two numbers (e.g. 5 + 4 = 9)
- subtract two numbers (e.g. 5 - 4 = 1)
× multiply two numbers (e.g. 5 × 2 = 10)
% calculate percentage (e.g. 50 × 20% = 10 or 20% × 50 = 10)
÷ divide two numbers (e.g. 15 ÷ 3 = 5)
reciprocal of the number
square : multiplies a given number with itself
= get result

SNAPSHOTS

  • [Snapshot]
  • [Snapshot]
  • [Snapshot]

DETAILS

Decimal point "."
To key in the number 31.5, click the "3" button, then the "1" button, then the "." button, then the "5" button.
Buttons "+", "-", "×", "÷"
Key in the first number, then one of the keys "+", "-" ,"×", "÷", then the second number.
Finally, click "=" to see the result.
Memory signal
The empty square in the top-left corner shows "M" if there is a nonzero number stored in the memory.
Buttons "+", "-", "×", "/" signal
If you have pressed one of the buttons "+", "-", "×", "÷", the button will be marked by a thin black frame to remind you which calculation you are executing.
Shortcut
(Brackets denote output by the calculator, all others are your keystrokes.)
Instead of 4 × 2 = (8) and then 8 + 3 = (11) you can keep calculating: 4 × 2 = (8) + 3 = (11) ...
Similarly, you can chain calculating exponentials with integral exponent . In order to calculate , key in: 5 × 5 = (25) × 5 = (125) × 5 = (625).
Limitations
- Avoid number overflow!
- Only two decimal places available!
- There is no rounding in the multiplication result.
History
This game was originally published as the Zillions games "Calculator" by the same author.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.