Calculator Tricks
Calculator Tricks
Calculator Tricks
Recent
Random
Programming
Math
GitHub
Flickr
About/Contact
l33tsp34k
Introduction
The Casio fx-991MS is an affordable scientific calculator with many powerful
features. Some of these can greatly reduce the effort to solve problems, while
others can be abused in interesting and fun ways. Being able to use these
features can also be helpful on tests and exams where scientific calculators are
allowed but more powerful graphing calculators are not.
On this page, I will show you some advanced and clever tricks that you can do
with the calculator. Although the article is for the Casio fx-991MS calculator (and
all the tricks mentioned here are guaranteed to work on it), the calculator features
and underlying mathematical principles for the tricks are quite general and can be
applied to many other calculators as well. (When you understand the trick and
your calculators features, youll be able to translate the instructions for your
situation.)
Contents
Standard tricks
o
Degree-minute-second conversion
Numerical differentiation
Numerical integration
Iterating formulas
Simple iterations
Arithmetic sequence
Geometric sequence
Repeated squaring
Logistic map
Exponential function
Cosine function
Sine function
Miscellaneous tricks
o
l33tsp34k
Store 80 numbers
Wish list
Standard tricks
These tricks are just built-in features of the calculator that are not entirely
obvious, because the previous generation of scientific calculators did not have
these features.
Solve polynomials and linear systems
To solve a quadratic or cubic polynomial equation:
1.
Go to EQN mode and scroll over to the Degree?section (MODE MODE MODE
1 ).
2.
3.
4.
Scroll up and down through the solution set. Complex-valued solutions are
included.
3.
4.
1.
2.
3X8=5)
3.
Give an initial guess for the variable and press the equals button. Try to
give a value near an actual solution, or else solving will be slow or will fail.
(However if the equation is linear, then any initial value works.)
4.
Press SOLVE again (SHIFT CALC). You may need to wait a few seconds.
5.
The calculator uses a form of Newtons method (as mentioned in the manual) to
solve the equation. The algorithm can easily hang, fail, or give a wrong answer,
so beware it is not an automatic solver for all equations.
Tip: Although linear equations are simple to solve in theory, letting the calculator
solve it for you can still save you some algebraic manipulation. Heres an
example problem: The 3 angles in a triangle are A, B, and C. B is twice of A. Cis
triple of B. Find the value of B. The solution can be found by solving the
equation B2+B+3B=180.
Evaluate a function at many points
You can evaluate an arbitrary function (of one or more variables) at different
arguments without re-entering the functions definition repeatedly. Procedure:
1.
X2+Y)
2.
Press CALC.
3.
4.
5.
For example, this makes it much easier to use the rational root theorem to factor
or solve polynomials.
Random number generation
The pseudo-variable Ran# (SHIFT .) gives a uniformly distributed random number
in the range [0, 1) with a step size of 0.001. It takes on a random value for each
instance in a formula and for each evaluation of a formula. (e.g. Ran#+Ran#has a
different distribution than 2Ran#.)
To get an integer in the range [0, N), evaluate NRan# and mentally discard the
fractional part of the result. This can be useful answering multiple-choice
questions, e.g. Go left or right?.
To get a finer step size, use Ran#+0.001Ran# (step size 106)
or Ran#+0.001Ran#+0.000001Ran# (step size 109).
Degree-minute-second conversion
You arrived at work at 08:42:44 and left at 17:24:59. How long were you
present at work?
Answer: 172459 084244, which yields 84215. This means 8 hours, 42
minutes, and 15 seconds. Pressing the button swiftly converts this answer
to about 8.704 hours.
You start driving at 21:30:00 at a speed of 30 m/s, and you need to travel
150 km. At what time will you reach your destination?
Answer: 2130 + 1501000303600, which yields 22:53:20 (exact).
Numerical differentiation
The numerical differentiation operation (SHIFT dx) takes 2 or 3 arguments:
1.
2.
3.
2.
3.
4.
If the amount of partitioning is n, then the number of partitions is 2n. See Users
Guide 2 for more details.
(X1,1,2,1)
= 0.7
(X1,1,2,2)
= 0.69
(X1,1,2,3)
= 0.6932
(X1,1,2,4)
= 0.69315
(X1,1,2,5)
= 0.693147
(X1,1,2,6)
= 0.6931472
(X1,1,2,7)
= 0.69314718
(X1,1,2,8)
= 0.693147181
(X1,1,2,9)
= 0.69314718
SHIFT
1.
All segments on
2.
3.
Half of segments on
4.
5.
The last display test shows 999999999999. Pressing SHIFTagain starts the second
phase, the key test. To complete the test, press every key (except ON) in order
from left to right, top to bottom. The number on the screen increments every time
you correctly hit the next key in the sequence. Dont press ON unless you intend
to quit!
Iterating formulas
A major difference between this calculator and older scientific calculators is that
this calculator does not evaluate the expression while you input it. After you finish
entering the expression, you press the equals key (=) and the calculator
evaluates the expression all at once.
2.
2.
Iterate Ans(Ans23)/(2Ans).
Unfortunately, fixed point iteration is generally slower and less reliable than
Newtons method.
Taylor series iterations
We can manually simulate some elementary functions using naive Taylor series.
Exponential function
1. Initialize X with the argument of your choice.
2. Initialize: Y=1, A=0, C=0
3. Iterate: A=A+Y : Y=YX(C+1) : C=C+1
4. Read the answer from A.
Cosine function
1. Initialize X with the argument of your choice.
2. Initialize: Y=1, A=0, C=0
3. Iterate: A=A+Y : Y=YX2(C+1)(C+2) : C=C+2
4. Read the answer from A.
Sine function
1. Initialize X with the argument of your choice.
2. Initialize: Y=X, A=0, C=1
3. Iterate: A=A+Y : Y=YX2(C+1)(C+2) : C=C+2
4. Read the answer from A.
Fibonacci sequence iteration
Procedure:
1.
2.
Set the mode to complex numbers (MODE 2). (This is needed in order to
use the absolute value function.)
2.
3.
4.
When A and B converge to the same number, that number is the GCD
answer.
Note that the function f(x) = (tanh(20x) |tanh(20x)|) / 2 hackily emulates a step
function, with f(x) = 0 for x 0 and f(x) = 1 for x 1. (This is due to the finite
precision and rounding.)
Thanks to Bojan Petrovic for suggesting this trick!
Miscellaneous tricks
l33tsp34k
The calculator contains a palette of symbols, which can be used to spell out
words and phrases in l33tsp34k. The complete (Latin) alphabet cannot be spelled
out, but this can make the exercise more fun.
Letter
Character
Meaning
Key sequence
Variable A
ALPHA ()
Digit 4
CONST 10
Variable B
ALPHA
Digit 8
Variable C
ALPHA hyp
Combination function
SHIFT +
Variable D
ALPHA sin
Variable E
ALPHA cos
E notation separator
EXP
Exponential function
SHIFT ln
Elementary charge
CONST 23
B
C
Letter
Character
Meaning
Key sequence
Eulers number
ALPHA ln
Digit 3
Variable F
ALPHA tan
Faraday constant
CONST 22
SI prefix femto
SHIFT 1
SI prefix giga
SHIFT 8
Gravitational constant
CONST 39
Standard gravity
CONST 35
Planck constant
CONST 06
Imaginary unit
ENG (only in
Digit 1
SI prefix kilo
SHIFT 6
Boltzmann constant
CONST 25
Digit 1
Variable M
ALPHA M+
SI prefix mega
SHIFT 7
SI prefix milli
SHIFT 5
SI prefix nano
SHIFT 3
Digit 0
Permutation function
SHIFT
SI prefix pico
SHIFT 2
CONST 27
Digit 5
SI prefix tera
SHIFT 9
Celsius temperature
CONST 38
Digit 7
CONST 17
Variable X
ALPHA )
Times
Variable Y
ALPHA ,
Digit 2
complex mode)
Store 80 numbers
In the SD mode, you can store a sequence of up to 80 numbers, which persist
even after a power cycle. To store a number, enter a literal number or an
expression, then pressing DT (M+). To retrieve the numbers, scroll through the
sequence of stored numbers by pressing up or down ( , ).
In theory, any information can be stored as numbers. (Modern digital computers
are built completely on this fact.) For example, if you want to store text on the
calculator, just devise a coding scheme that maps between letters and numbers.
Note that with the precision available, each number on this calculator can hold up
to about 40.7 bits of information.
Wish list
It would be nice if the Casio fx-991MS had these features. Theyre not found on
other scientific calculators, but they are sometimes found on graphing calculators,
and theyre certainly available on general-purpose computers (even
smartphones):
More info
Categories: Math
Last updated: 2013-08-05
Recent
About
(more)
Random