generate an archive of programs for the Texas Instruments Programmable Calculator family.
I will post some for my TI-51-III, TI-58 and TI-59's just as soon as I find them
I hope there are others reading this who may also be able to contribute.
Code: Select all
Factorials for the TI-58/59 from the Wiki
LBL A You'll call the program with the A key
STO 01 stores the value in register 1
1 starts with 1
LBL B label for the loop
RCL 01 by n
DSZ 1 B decrements n and back to B until n=0
= end of loop, the machine has calculated 1*n*(n-1)*...2*1=n!
INV SBR end of procedure