MoreZitiPlease
- 107
- 0
Homework Statement
Like if I wanted to factor x^2 + 24x +80 {EXAMPLE}
Is this possible?
neofreakx2 said:Of course there's a way to do it. Like someone said earlier, you can just take the zeroes of the function and place the opposite of it in the "factored form". Just use a program to do the quadratic and multiply the answer by -1, and display "(X",D,")", and the same for the second value.
:Prompt A
:Prompt B
:Prompt C
sqrt. (B^2-4AC)->C
-B+C->D
-B-C->E
2A->A
-1D/A->D
-1E/A->E
D>Frac->D
E>Frac->E
:Disp "(X",D,")(X",E,")"
I just came up with this off the top of my head, so I haven't tested it. It might take a little tinkering, most likely in the display command (I can never seem to get those to work right when I'm using variables). It should work though. If it remains in decimal form, that means it can't be factored rationally. Otherwise, it's pretty self-explanitory.