I found a program online that (supposedly) factors polynomials. It had the code written out, which is good, because I don't have a PC link and can't download stuff to my calculator. I have a TI-83, and this code should do it, according to the author:

I'm not going to copy and paste the code, since it loses formatting.

Here it is: Sock Soup: Polynomial Factoring on a TI-83+

But it seems far too simple to be what I'm looking for. I need the kind of program that can turn 2x^{2} + 9x - 5 into either 2(x + 5)(x – 1/2) or (2x - 1)(x + 5). More importantly, I don't know what to enter for the first input. The author describes this as "the number of potential factors(values for 'b' in [x-b])," but I'm confused. Severely so.

Can someone help me with this?