Polynomial roots, complex included — a TI-84 Plus CE program
CPOLY is a TI-BASIC program for the TI-84 Plus CE. Every root, real or complex, of a degree 1-5 polynomial typed as a coefficient list, by Bairstow's quadratic factors (no a+bi mode needed); shows real and imaginary parts and the residual |p(root)|.
What it asks for and what it shows
It asks for 1 value at its prompts. In the example below it shows RESID.
Example run
One of its oracle test cases: “x^2+2x+5 complex pair”. The inputs are typed in order, and the results are the values the case expects on the screen.
| Step | Value |
|---|---|
| You enter | |
| Input 1 | {1,2,5} |
| The screen shows | |
RESID= | 0 |
How it's checked
9 test cases, each checked against an independent method. Replayed key by key on a virtual TI-84 Plus CE, they make 34 checks.
How E-Code checks every program
Run it or put it on your calculator
- Open the library in the TI-84 Plus CE calculator and pick “Polynomial roots, complex included” (CPOLY).
- Put it on your own calculator with a computer and a USB cable, or type it in by hand.
Related programs
- Quadratic formula solver
- Formula reference card
- Newton-Raphson root finder
- Circle area and circumference
- Bisection root finder
All TI-84 Plus CE math programs · All TI-84 Plus CE programs