Hidden WordScanner
Private scans · No account required

DuckieDai Vertical Asymptote Checker

Classify a factored rational-function zero as a vertical asymptote, hole, or canceled factor by comparing numerator and denominator multiplicities.

Version 1.0.0 · Tested on a TI calculator

← 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.

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

Download .py

View source below, copy it when JavaScript is available, or download the exact .py bytes.

  1. """DuckieDai Vertical Asymptote Checker for TI-84 Plus CE Python."""
  2. def duckiedai_intro(program_name):
  3. title = program_name[:16]
  4. empty = 16 - len(title)
  5. left = empty // 2
  6. right = empty - left
  7. print("+----------------------+")
  8. print("| " + " " * left + title + " " * right + " |")
  9. print("| |")
  10. print("| __ |")
  11. print("| ___(o )> quack! |")
  12. print("| \\ <_. ) |")
  13. print("| `---' |")
  14. print("| by DuckieDai |")
  15. print("+----------------------+")
  16. print("Loading...")
  17. input("Press enter to start ")
  18. print("\n" * 8)
  19. def clear_screen():
  20. print("\n" * 8)
  21. def number(prompt):
  22. while True:
  23. try:
  24. return float(input(prompt))
  25. except ValueError:
  26. print("Enter a number")
  27. def clean_num(value):
  28. if abs(value - round(value)) < 0.0000001:
  29. return str(int(round(value)))
  30. return str(round(value, 6))
  31. def run_checker():
  32. clear_screen()
  33. print("VERTICAL ASYMPTOTE")
  34. print("------------------")
  35. print("Use factored form.")
  36. print("Example: (x-2)^2")
  37. print("")
  38. zero = number("Factor zero c: ")
  39. top_count = int(number("Top copies: "))
  40. bottom_count = int(number("Bottom copies: "))
  41. if top_count < 0 or bottom_count < 0:
  42. print("Counts cannot be negative")
  43. return
  44. clear_screen()
  45. print("RESULT")
  46. print("------")
  47. print("Factor: x - (" + clean_num(zero) + ")")
  48. print("")
  49. if bottom_count == 0:
  50. print("Not a denominator")
  51. print("factor.")
  52. elif bottom_count > top_count:
  53. print("VERTICAL ASYMPTOTE")
  54. print("x =", clean_num(zero))
  55. print("")
  56. print("Remaining bottom")
  57. print("power:", bottom_count - top_count)
  58. elif bottom_count == top_count:
  59. print("HOLE")
  60. print("x =", clean_num(zero))
  61. print("")
  62. print("Factor cancels fully.")
  63. else:
  64. print("NO VERTICAL")
  65. print("ASYMPTOTE")
  66. print("")
  67. print("Top factor cancels")
  68. print("the denominator.")
  69. duckiedai_intro("Vert Asymptote")
  70. while True:
  71. run_checker()
  72. print("")
  73. if input("Again? y/n: ").lower() != "y":
  74. break
  75. clear_screen()
  76. print("DuckieDai says: done!")
Filename
VASYM.py
Size
2310 bytes
SHA-256
dff6c1252d45cc5c10e390d7d9f4539b2f78f1ee3dfee7707a1a57d5f7740438

Transfer and launch

  1. Confirm that your calculator is the Python-capable model named above. Check that its OS and Python App versions match the reviewed record.
  2. Download the .py source above and verify its SHA-256 digest if your computer provides that option.
  3. Use TI Connect CE to send the Python file to a compatible calculator. VASYM is a suggested name; you may choose another valid, unique calculator name.
  4. 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

Any source change requires a new immutable version and digest. Historical downloads remain available only while their review records remain valid.