Skip to content

Instantly share code, notes, and snippets.

@kmark
Created May 20, 2014 06:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kmark/0a08acd260230b9c4b1b to your computer and use it in GitHub Desktop.
Save kmark/0a08acd260230b9c4b1b to your computer and use it in GitHub Desktop.
I couldn't remember how to solve for complex roots/zeroes of a polynomial during a test so I whipped up this quick TI-84 program to brute-force the answer. The input function must use the X variable.
a+b
Input "MAX=",M
Input "FUNC=",Str0
For(I,1,M)
I→X
expr(Str0)→R
If real(R)=0 and imag(R)=0
Disp X,conj(X)
End
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment