Zzz.
Programmable calculators Casio FX-795P
.


Datasheet Years of production: 1987  Display type: Alphanumeric display  
New price:   Display color: Black  
    Display technology: Liquid crystal display 
Size: 6"×6"×½" Display size: 24 characters
Weight: 6 oz    
    Entry method: BASIC expressions 
Batteries: 2×"CR-2032" Lithium + 1×"CR-1220" Lithium Advanced functions: Trig Exp Hyp Lreg Cplx Cmem Snd Mtrx BaseN Eqlib 
External power:   Memory functions:  
I/O: Printer port, expansion port     
    Programming model: BASIC 
Precision: 12 digits Program functions: Jump Cond Subr Lbl Ind  
Memories: 15584(0) bytes Program display: Text display  
Program memory: 15584 bytes Program editing: Text editor  
Chipset:   Forensic result: 9.000007164  

fx795p.jpg (40850 bytes)Like its nearly identical cousin, the fx-790P, this fx-795P is a blend of a traditional scientific calculator and a BASIC-programmable handheld computer. What distinguishes it from the fx-790P is that the simulated assembler function is history: in its place, the fx-795P boasts a scientific function library.

So here's yet again this somewhat boring example, a Gamma function program:

100 INPUT "X=",X
110 T=1
120 IF X>=0 THEN 160
130 T=T*X
140 X=X+1
150 GOTO 120
160 G=1.00000000019
170 G=G+76.1800917295/(X+1)
180 G=G-86.5053203294/(X+2)
190 G=G+24.0140982408/(X+3)
200 G=G-1.23173957245/(X+4)
210 G=G+1.20865097387E-3/(X+5)
220 G=G-5.39523938495E-6/(X+6)
230 G=LN (SQR (2*pi)*G/X)
240 G=G-X-5.5+LN (X+5.5)*(X+.5)
250 PRINT EXP(G)/T