Small (Circuit)Python programs that run on a TI-84 Plus CE-T Python Edition calculator. As storage is limited on these calculators, the programs might not be beautifully formatted.
Excerpt from manual:
"TI-Python is based on CircuitPython, a variant of Python designed to fit in small microcontrollers. The original CircuitPython implementation has been adapted for use by TI."
| App | Description | Functions |
|---|---|---|
BASES |
Simple conversion functions |
db: decimal to binary conversion bd: binary to decimal conversion |
EULPHI |
Euler's totient function to find number of co-primes |
phi: Euler's totient function gcd: Euclidean algorithmmod: modulo calculations |
MODARIT |
Modular arithmetic |
egcd: extended Euclidean algorithm mod: modulo calculations (remainder) modinv: modulo inverse calculations mmodinv: modulo inverse matrix calculations |
PMODARIT |
Binary polynomial arithmetic |
p_mod: Binary polynomial modulusp_divmod: Binary polynomial divisionp_mul: Binary polynomial multiplicationp_exp: Binary polynomial exponentiation by squaringp_gcd: Binary polynomial Euclidean algorithmp_egcd: Binary polynomial extended Euclidean algorithmp_mul_mod: Binary polynomial modular multiplicativep_mul_inv: Binary polynomial modular multiplicative inverse |
- Make sure you have TI Connect installed on your computer. Homebrew users can use
brew install ti-connect-ce. - Download this repo.
- Connect your calculator with your computer.
- Use TI Connect to upload the app files you need (e.g.
MODARIT.py) to your calculator. The[NAME]_Test.pyfiles serve only testing purposes during development and are not meant to use on your calculator. - The app should now be listed in your calculator's app inventory, ready to interact with.
