Calculator Programs and Games
The following programs are designed for Casio fx-3650P, fx-3950P; and
Microsoft® Windows® 98 / NT / ME / 2000 / XP / 2003 / Vista / 2008 / 7 (x86) only.
The programming commands can be found in "SHIFT-[P-CMD](3)".
Modes are selected by pressing "Mode" serveral times.
Variables are added by using the "ALPHA" or "RCL" button.
If you want to learn more, please feel free to contact Timothy.
Click here to download an all-in-one archive file of the executables below.
餘弦面 Cosine Area (CA): To apply cosine law and calculate the area of the triangle.
Type: Application; Mode: COMP; Size: 89B
Mem clear:?→A:?→B:?→C:?→X: 018
X=>√(B²+C²-2BCcosX→A◢ 036
X=0=>cos‾¹((B²+C²-A²)÷2BC→X◢ 059
cos‾¹((C²+A²-B²)÷2AC◢ 076
πr-X-Ans◢2‾¹BCsinX 089
Case 1: 3 sides known
Input sequence: 0, 3 sides;
Output: 3 angles, area of triangle.
Case 2: 2 sides and an included angle known
Input sequence: 2 sides and the included angle, 0;
Output sequence: 3rd side, 2 other angles, area of triangle.
解二元 Two-unknown Solver (2S): To solve for x and y in a pair of simultaneous linear equations..
Type: Application; Mode: COMP; Size: 46B
?→A:?→B:?→C:?→D:?→X:?→Y: 024
(BY-CX)¬(BD-AX◢B‾¹(C-AAns 046
Case: Ax+By=C and Dx+Xy=Y
Input sequence: A, B, C, D, E, F;
Output: x, y.
除數器 Polynomial Divisor (PD): To get the quotient and remainder of a polynomial division.
Type: Application; Mode: COMP; Size: 48B
Mem clear:?→A:?→B:?→D:Lbl 1:?→C:
C-BX¬A→X:X¬A→C:1M+:D≥M=>Goto 1:AC
Case: f(x)÷(x+k)=q(x)...r
Input sequence: x, k , degree of the polynomial, coefficient of each term in f(x) (coefficient of each term in q(x) is shown);
Output: remainder.
View keys to be pressed
找餘數 Remainder Seeker (RS): To get the remainder of a polynomial division.
Type: Application; Mode: COMP; Size: 37B
Mem clear:?→X:?→D:Lbl 1:?→C:
CX^DM+:D-1→D:D≥0=>Goto 1:M
Case: f(x)÷(x+k)=q(x)...r
Input sequence: x of the divisor when (x-n)=0, degree of the polynomial, coefficient of each x^n;
Output: remainder.
解二次 Solve Quadratic (S4): To get the solution(s) of "Ax²+Bx+C=0" in surd form where C='M?'.
Type: Application; Mode: CMPLX; Size: 84B
Norm 1:?→A:?→B:?→M:B¬-2A→B:AB²M-: 027
-4AM→C:B+√-M¬A◢2B-Ans◢ 047
MM-◢B◢Fix 0:Lbl 0:1M+:√CM‾¹→B: 067
Rnd:Ans≠B=>Goto 0:Norm 1:B÷2A◢M 084
Output sequence: Root 1, Root 2, Y, X, Surd R, Surd I. (Roots=X±R√I *'R<=>I' means "no real roots".)
View keys to be pressed Instruction to use S4
開口中 Number Fit (F#): To avoid fitting the random number while guessing a number in a range which is 1 to 100 at the beginning. (for >1 player)
Type: Game; Mode: COMP; Size: 126B
1→A:E2→B:Fix 0:97Ran#+2:Rnd:Ans→X: 023
Lbl 0:B=E2=>Goto 1:Fix 2:A+B10-2→C:Goto 2: 048
Lbl 1:Fix 3:A+.1→C:Lbl 2:C→Y:?→Y: 071
Fix 0:Rnd:(Ans≠Y)+(A≥Y)+(Y≥B)=>Goto 0: 096
X>Y=>Y→A:Y>X=>Y→B:Y≠X=>Goto 0: 119
Fix 9:Ran#Ran#Ran#×0 126
For Microsoft® Windows®: F#.EXE 16.0KB(16,384B) (Shortcut keys: Enter=>EXE; Esc=>AC)
七到爆 SE7ENS (7s): Input 0 when the next integer is a product of 7 or the unit digit of it is 7. (for >1 player)
Type: Game; Mode: COMP; Size: 125B
Fix 0:1→X:Lbl 1:0→B:0→Y:?→Y:
.1X-.5:Rnd:X-10Ans=7=>1→B:X÷7:
Rnd:X÷7-Ans=0=>1→B:B=>Goto 2:
Y≠X=>Goto 8:Goto 3:Lbl 2:Y≠0=>Goto 8:
Lbl 3:X≥99=>Goto 8:X+1→X:Goto 1:
Lbl 8:Norm 1:777777777777E-2
Input sequence: 1, 2, 3, ..., 99
For Microsoft® Windows®: 7s.EXE 16.0KB(16,384B) (Shortcut keys: Enter=>EXE; Esc=>AC)
四位數 Four Digits (4D): To guess a 4-digit number. Hints is given as (#Correct).(#Included) . X?≠0 means wrong input. (for 1 player only)
Type: Game; Mode: COMP; Size: 204B; Version: Beta
Lbl 0:Mem clear:Lbl 1:Fix 0◢ 010
9Ran#:Rnd:Ans→A:9Ran#:Rnd:Ans→B: 028
9Ran#:Rnd:Ans→C:9Ran#:Rnd:Ans→D: 046
(A≠B)(A≠C)(A≠D)(B≠C)(B≠D)(C≠D)=>Goto 2: 080
Goto 1:Lbl 2:Fix 0:?→X:√X²>9=>Goto 2: 099
10(X=AM+:X=BM+:X=CM+:X=DM+: 124
A→X:B→A:C→B:D→C:X→D:0→X:Y+1→Y: 154
4>Y=>Goto 2:Fix 1:.1M:Ans◢Ans=4=>Goto 3: 176
0→Y:MM-:Goto 2:Lbl 3:444444444444E-2 204
*Development form Microsoft® Windows® terminated.
廿一點 Black Jack (BJ): Stop drawing cards when the total value is near 21. Ace(1) can value either 1 or 11; Jack(11), Queen(12) and King(13) value 10 each. (for 1 player only)

Type: Game; Mode: COMP; Size: 214B
Lbl 0:Mem clear:6→D:10→M:Lbl 1:Fix 0:
12Ran#+1:Rnd:Ans→Y:D≥0=>C+Y10D→C:
Y>M=>M→Y:1=Y=>1→A:0>D=>Goto 2:X+Y→X:
X>21=>Goto 4:Fix 2:X→Y:21>X+MA=>X+MA→Y:
C+Y10-2◢D=0=>Goto 3:Fix 0:0→B:D>0=>?→B:
D-2→D:B≠0=>Goto 1:-1→D:Goto 1:
Lbl 2:21≥X+Y+MA=>Goto 4:Lbl 3:X>21=>Goto 4:
X→Y:21≥X+MA=>X+MA→Y:Fix 0:Y◢Goto 0:
Lbl 4:0→M:Fix 2:Ran#Ran#Ran#×0+C+X10-2

For Microsoft® Windows®: 21p.EXE 16.0KB(16,384B) (Shortcut keys: Enter=>EXE; Esc=>AC) (for 1 player only)
二極 2Clipse (2C): Each player should press EXE for 1 to 3 times. The last player who presses EXE is classifyied as the loser. (for >1 player)

Type: Game; Mode: COMP; Size: 51B
Fix 0:20→M:Lbl 1:M→C:?→C:1
M-: 021
1>M=>Goto 8:Goto 1:Lbl 8:Norm 1:222222222222E-2 051

For Microsoft® Windows®: 2C.EXE 16.0KB(16,384B) (Shortcut keys: Enter=>EXE; Esc=>AC)
Copyright © 2006 - 2009 Wong Tin Chi Timothy. All rights reserved.