Hidden WordScanner
Private scans · No account required

DuckieDai Quartic Zero Tester

Test a proposed zero of a quartic and show the cubic quotient when synthetic division has zero remainder.

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.

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 a proposed zero of a quartic and show the cubic quotient when synthetic division has zero remainder.

Usage

Inputs

  • Quartic coefficients a, b, c, d, and e
  • Proposed zero, as a number or fraction

Outputs

  • Zero-test result and remainder
  • Cubic quotient coefficients when the remainder is zero

Units: Inputs represent a quartic polynomial a*x^4 + b*x^3 + c*x^2 + d*x + e.

Assumptions and limitations

Assumptions

  • Decimal remainders within 1E-7 display as zero.

Constraints

  • Fractions must have a nonzero denominator.

Known failures

  • Floating-point rounding can classify values close to zero differently than exact symbolic arithmetic.

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 quartic zero test and cubic quotient workflow.
Dependencies
No imports
Suggested calculator name
P2Q4 — 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.

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

Exact reviewed bytes

Source code

Download .py

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

  1. """DuckieDai Quartic 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("+----------------------+")
  16. print("Loading...")
  17. if wait:
  18. input("Press enter to start ")
  19. print("\n" * 8)
  20. def clear_screen():
  21. print("\n" * 8)
  22. def clean_num(n):
  23. if abs(n - round(n)) < 0.0000001:
  24. return int(round(n))
  25. return round(n, 6)
  26. def number(prompt):
  27. while True:
  28. try:
  29. text = input(prompt)
  30. if "/" in text:
  31. parts = text.split("/")
  32. if len(parts) != 2:
  33. raise ValueError
  34. top = float(parts[0])
  35. bottom = float(parts[1])
  36. if bottom == 0:
  37. print("Cannot divide by 0")
  38. continue
  39. return top / bottom
  40. return float(text)
  41. except ValueError:
  42. print("Enter a number")
  43. print("or fraction")
  44. def run_test():
  45. clear_screen()
  46. print("ENTER QUARTIC")
  47. print("ax^4+bx^3+cx^2")
  48. print("+dx+e")
  49. print("")
  50. a = number("x^4: ")
  51. b = number("x^3: ")
  52. c = number("x^2: ")
  53. d = number("x: ")
  54. e = number("Const: ")
  55. print("")
  56. zero = number("Test zero: ")
  57. first = a
  58. second = b + first * zero
  59. third = c + second * zero
  60. fourth = d + third * zero
  61. remainder = e + fourth * zero
  62. if abs(remainder) < 0.0000001:
  63. remainder = 0
  64. clear_screen()
  65. print("ZERO TEST")
  66. print("---------")
  67. print("Test:", clean_num(zero))
  68. print("R:", clean_num(remainder))
  69. print("")
  70. if remainder == 0:
  71. print("TRUE!")
  72. print("IT IS A ZERO")
  73. else:
  74. print("FALSE")
  75. print("NOT A ZERO")
  76. input("\nPress enter ")
  77. if remainder != 0:
  78. return
  79. clear_screen()
  80. print("CUBIC QUOTIENT")
  81. print("--------------")
  82. print(clean_num(first), "x^3")
  83. print(clean_num(second), "x^2")
  84. print(clean_num(third), "x")
  85. print(clean_num(fourth))
  86. print("")
  87. print("Use these in")
  88. print("Cubic Zero Tester")
  89. duckiedai_intro("Quartic Zero")
  90. while True:
  91. run_test()
  92. print("")
  93. again = input("Again? y/n: ")
  94. if again.lower() != "y":
  95. break
  96. clear_screen()
  97. print("DuckieDai says: done!")
Filename
P2Q4.py
Size
2757 bytes
SHA-256
787e375cae1455448b49baf1011343e1fc64cb6a0643ea66865c3c9cf025409c

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