← 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.
rational-functions · MIT License
Overview
Classify a factored rational-function zero as a vertical asymptote, hole, or canceled factor by comparing numerator and denominator multiplicities.
Calculator simulation
Try the DuckieDai calculator screen
Follow the reviewed program prompts and calculation flow before downloading.
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.
Usage
Inputs
- Zero c from factor x minus c
- Numerator factor copies
- Denominator factor copies
Outputs
- Vertical asymptote, hole, or no vertical asymptote
- Remaining denominator multiplicity when applicable
Units: Factor roots and multiplicities; no physical units.
Assumptions and limitations
Assumptions
- The rational function is already in factored form.
Constraints
- This program does not factor a polynomial automatically.
Known failures
- Negative factor-copy counts are rejected.
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 personally tested the corrected exact program on a TI 84 Plus CE Python calculator.
- Dependencies
- No imports
- Suggested calculator name
VASYM— 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.
Exact reviewed bytes
Source code
"""DuckieDai Vertical Asymptote Checker for TI-84 Plus CE Python."""def duckiedai_intro(program_name):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...")input("Press enter to start ")print("\n" * 8)def clear_screen():print("\n" * 8)def number(prompt):while True:try:return float(input(prompt))except ValueError:print("Enter a number")def clean_num(value):if abs(value - round(value)) < 0.0000001:return str(int(round(value)))return str(round(value, 6))def run_checker():clear_screen()print("VERTICAL ASYMPTOTE")print("------------------")print("Use factored form.")print("Example: (x-2)^2")print("")zero = number("Factor zero c: ")top_count = int(number("Top copies: "))bottom_count = int(number("Bottom copies: "))if top_count < 0 or bottom_count < 0:print("Counts cannot be negative")returnclear_screen()print("RESULT")print("------")print("Factor: x - (" + clean_num(zero) + ")")print("")if bottom_count == 0:print("Not a denominator")print("factor.")elif bottom_count > top_count:print("VERTICAL ASYMPTOTE")print("x =", clean_num(zero))print("")print("Remaining bottom")print("power:", bottom_count - top_count)elif bottom_count == top_count:print("HOLE")print("x =", clean_num(zero))print("")print("Factor cancels fully.")else:print("NO VERTICAL")print("ASYMPTOTE")print("")print("Top factor cancels")print("the denominator.")duckiedai_intro("Vert Asymptote")while True:run_checker()print("")if input("Again? y/n: ").lower() != "y":breakclear_screen()print("DuckieDai says: done!")
- Filename
VASYM.py- Size
- 2310 bytes
- SHA-256
dff6c1252d45cc5c10e390d7d9f4539b2f78f1ee3dfee7707a1a57d5f7740438
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.
VASYMis 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.