Casio fx-5400P

Datasheet legend
Ab/c: Fractions calculation
AC: Alternating current
BaseN: Number base calculations
Card: Magnetic card storage
Cmem: Continuous memory
Cond: Conditional execution
Const: Scientific constants
Cplx: Complex number arithmetic
DC: Direct current
Eqlib: Equation library
Exp: Exponential/logarithmic functions
Fin: Financial functions
Grph: Graphing capability
Hyp: Hyperbolic functions
Ind: Indirect addressing
Intg: Numerical integration
Jump: Unconditional jump (GOTO)
Lbl: Program labels
LCD: Liquid Crystal Display
LED: Light-Emitting Diode
Li-ion: Lithium-ion rechargeable battery
Lreg: Linear regression (2-variable statistics)
mA: Milliamperes of current
Mtrx: Matrix support
NiCd: Nickel-Cadmium rechargeable battery
NiMH: Nickel-metal-hydrite rechargeable battery
Prnt: Printer
RTC: Real-time clock
Sdev: Standard deviation (1-variable statistics)
Solv: Equation solver
Subr: Subroutine call capability
Symb: Symbolic computing
Tape: Magnetic tape storage
Trig: Trigonometric functions
Units: Unit conversions
VAC: Volts AC
VDC: Volts DC
Years of production: 1987  Display type: Alphanumeric display  
New price:   Display color: Black  
    Display technology: Liquid crystal display 
Size: 3"×5½"×½" Display size: 12 characters
Weight: 5 oz    
    Entry method: BASIC expressions 
Batteries: 2×"CR-2025" Lithium Advanced functions: Trig Exp Hyp Lreg Cmem Snd Const 
External power:   Memory functions:  
    Programming model: BASIC 
Precision: 12 digits Program functions: Jump Cond Subr Lbl Ind  
Memories: 26 numbers Program display: Text display  
Program memory: 544 bytes Program editing: Text editor  
Chipset:   Forensic result: 9.000007164  

fx5400p.jpg (35286 bytes)With a calculator manufacturer as prolific as Casio, there are bound to be some surprises. One such surprise is this fx-5400P pocket calculator/computer. When I got my hands on this model, I expected to see a standard keystroke-programmable scientific calculator; what I found instead is a BASIC-programmable pocket computer with a unique touch keyboard.

Although similar in many ways to other Casio BASIC programmables, the fx-5400P also has some unique features. Among them: 2-variable statistics; a scientific constants library; and scientific functions not commonly available on BASIC programmables, such as hyperbolic functions.

The programming model of the fx-5400P is straightforward Casio BASIC. It is demonstrated by the following program, which computes the logarithm of the Gamma function:

10 INPUT "X",X
20 G=1
30 S= SGNX
40 Z= ABSX
50 IF Z>9 THEN 90
60 G=G*Z
70 Z=Z+1
80 GOTO50
90 G=LN(Z* SQR(Z* HYP SIN(1/Z)+1/810/Z^6))*Z-Z+ LN(2*π/Z)/2- LNG
100 IF S>0 THEN 120
110 G= LN(-π/X/ SIN(π*X))-G