← Back to Calculator Program Library
Independent compatibility resource: Hidden Word Scanner is independent and is not affiliated with or endorsed by Texas Instruments. TI product names describe compatibility only.
Action-count privacy: Successful downloads, preview starts, and preview completions increment same-origin aggregate counters. No entered values, source text, IP address, account, cookie, device identifier, or fingerprint is stored with these counts.
Using the full toolkit? Read the step-by-step Polynomial Toolkit guide for quartic, cubic, and quadratic workflows, worked examples, and a reminder to keep every root you find.
algebra · MIT License
Overview
List possible rational zeros from a polynomial's constant and leading coefficients using the Rational Root Theorem.
Usage
Inputs
- Constant coefficient
- Leading coefficient
Outputs
- Unique positive rational-factor pairs; use plus or minus for each candidate
Units: Coefficients are integers.
Assumptions and limitations
Assumptions
- The program lists candidates, not confirmed roots.
Constraints
- The leading coefficient cannot be zero.
Known failures
- A zero constant produces no plus/minus factor list; treat zero as a root separately.
Compatibility and review
- Review status
- Tested on a TI calculator
- Tested on
- Creator-owned TI-84 Plus CE Python calculator; exact .py transferred and launched individually
- What happened
- Passed: creator tested the exact program on a personal TI 84 Plus CE Python calculator and confirmed the Rational Root Theorem candidate workflow.
- Dependencies
- No imports
- Suggested calculator name
P1RZERO— you can give it another valid, unique name when you transfer it- Desktop test cases
- Not available for this interactive-only source
This exact source auto-launches an interactive calculator session, so compatibility evidence comes from the recorded physical-device review rather than an importable desktop fixture.
Browser preview
Try the DuckieDai calculator screen
A browser implementation of the documented calculation flow. It does not execute the downloaded Python.
Simulation boundary: This preview uses a reviewed browser adapter. It does not execute the downloaded Python and does not prove TI-Python or calculator compatibility.
TI-84 Plus CE Python · screen preview
JavaScript is required for the optional browser simulation. Source viewing and downloading remain available without it.
Exact reviewed bytes
Source code
"""DuckieDai Rational Zero Finder for TI-84 Plus CE Python."""def duckiedai_intro(program_name, wait=True):title = program_name[:16]empty = 16 - len(title)left = empty // 2right = empty - leftprint("+----------------------+")print("| " + " " * left + title + " " * right + " |")print("| |")print("| __ |")print("| ___(o )> quack! |")print("| \\ <_. ) |")print("| `---' |")print("| by DuckieDai |")print("+----------------------+")print("Loading...")if wait:input("Press enter to start ")print("\n" * 6)def gcd(a, b):while b != 0:a, b = b, a % breturn aduckiedai_intro("Rational Zeros")constant = int(input("Constant: "))lead = int(input("Leading coeff: "))if constant < 0:constant = -constantif lead < 0:lead = -leadp_factors = []q_factors = []for i in range(1, constant + 1):if constant % i == 0:p_factors.append(i)for i in range(1, lead + 1):if lead % i == 0:q_factors.append(i)zeros = []for p in p_factors:for q in q_factors:g = gcd(p, q)num = p // gden = q // gpair = (num, den)if pair not in zeros:zeros.append(pair)print()print("Possible zeros:")print("Use +/-")count = 0for pair in zeros:num = pair[0]den = pair[1]if den == 1:print("+/-", num)else:print("+/-", str(num) + "/" + str(den))count += 1if count % 5 == 0:if count < len(zeros):input("Enter for more ")print()print("DuckieDai says: done!")
- Filename
P1RZERO.py- Size
- 1719 bytes
- SHA-256
d087b92e21265301381c5230fd135597741945ea0319d2f0c857dff9f94d07dd
Transfer and launch
- Confirm that your calculator is the Python-capable model named above. Check that its OS and Python App versions match the reviewed record.
- Download the
.pysource above and verify its SHA-256 digest if your computer provides that option. - Use TI Connect CE to send the Python file to a compatible calculator.
P1RZEROis a suggested name; you may choose another valid, unique calculator name. - Open the Python App, select the program, and check sample inputs before relying on other results.
Read the complete installation, launch, troubleshooting, and removal guide.
Availability does not mean a teacher, school, or exam permits this program. Follow the applicable rules.
Version history
- 1.0.0 — current version, published . Download this reviewed version
Any source change requires a new immutable version and digest. Historical downloads remain available only while their review records remain valid.