Created
May 20, 2014 06:00
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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