# Pocket Calculator

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration simulates a simple pocket calculator.

[more]
Contributed by: Karl Scherer (April 2014)

Open content licensed under CC BY-NC-SA

## Snapshots

## 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.

## Permanent Citation