Hidden WordScanner
Private scans · No account required

DuckieDai Synthetic Zero Tester

Test one proposed zero of a cubic polynomial and display its synthetic-division quotient and bottom row.

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

Test one proposed zero of a cubic polynomial and display its synthetic-division quotient and bottom row.

  • Owner-tested on a TI calculator
  • Version 1.0.0
  • 1916 bytes
  • No imports

Before you run it

  • TI-84 Plus CE Python · No calculator OS or Python App version has been verified.
  • TI Connect CE .py transfer to the Python App; the owner's transfer details were not recorded
  • Inputs are valid numeric values for a cubic polynomial.
  • This program tests one supplied zero; it does not generate rational-root candidates.
  • It compares the calculated remainder with exact floating-point zero.

Try the DuckieDai calculator screen

Follow the program's prompts and result flow before downloading.

JavaScript is required for the optional browser simulation. Source viewing and downloading remain available without it.

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.

Exact reviewed bytes

Source code

Download .py

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

  1. """DuckieDai Synthetic Zero Tester for TI-84 Plus CE Python."""
  2. def duckiedai_intro(program_name, wait=True):
  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("| hiddenwordscanner.com|")
  16. print("+----------------------+")
  17. print("Loading...")
  18. if wait:
  19. input("Press enter to start ")
  20. print("\n" * 8)
  21. def clear_screen():
  22. print("\n" * 8)
  23. def run_test():
  24. clear_screen()
  25. print("Enter coefficients")
  26. print("ax^3+bx^2+cx+d")
  27. print("")
  28. a = float(input("x^3: "))
  29. b = float(input("x^2: "))
  30. c = float(input("x: "))
  31. d = float(input("Const: "))
  32. zero = float(input("Test zero: "))
  33. first = a
  34. second = b + first * zero
  35. third = c + second * zero
  36. remainder = d + third * zero
  37. clear_screen()
  38. print("ZERO TEST")
  39. print("---------")
  40. print("Test:", zero)
  41. print("R:", remainder)
  42. print("")
  43. if remainder == 0:
  44. print("TRUE!")
  45. print("IT IS A ZERO")
  46. else:
  47. print("FALSE")
  48. print("NOT A ZERO")
  49. input("\nPress enter ")
  50. clear_screen()
  51. print("QUOTIENT")
  52. print("--------")
  53. print(first, "x^2")
  54. print(second, "x")
  55. print(third)
  56. input("\nPress enter ")
  57. clear_screen()
  58. print("BOTTOM ROW")
  59. print("----------")
  60. print(first, second)
  61. print(third, remainder)
  62. duckiedai_intro("Zero Tester")
  63. while True:
  64. run_test()
  65. print("")
  66. again = input("Again? y/n: ")
  67. if again.lower() != "y":
  68. break
  69. clear_screen()
  70. print("DuckieDai says: done!")
Filename
zeroTS.py
Size
1916 bytes
SHA-256
52e0e9120a72c8527ba6ea4ee3ba41600464cd9ce292079faf3d7d76ec0710ee

Usage

Inputs

  • Numeric coefficients a, b, c, and d for ax^3 + bx^2 + cx + d
  • One numeric zero to test

Outputs

  • True or false zero result
  • Quadratic quotient coefficients
  • Synthetic-division bottom row

Units: Polynomial coefficients; no physical units.

Assumptions and limitations

Assumptions

  • Inputs are valid numeric values for a cubic polynomial.

Constraints

  • This program tests one supplied zero; it does not generate rational-root candidates.
  • It compares the calculated remainder with exact floating-point zero.

Known failures

  • A mathematically zero decimal result can be reported false when floating-point residue is not exactly zero.
  • Invalid numeric input uses the calculator Python input error path.

Compatibility and review

Review status
Owner-tested on a TI calculator
Tested on
Owner reports personally testing this program on a TI-84 Plus CE Python calculator; the test date, OS version, and Python App version were not recorded
What happened
Owner reported pass on the calculator. The published file is the owner's tested source.
Dependencies
No imports
Suggested calculator name
ZEROTS — 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.

Transfer and launch

  1. Confirm that your calculator is the Python-capable model named above. This release has no verified calculator OS or Python App version; treat transfer and execution as unverified until independently tested.
  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. ZEROTS 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.

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.