Re: 2 answer quadratics on TI-85?


[Prev][Next][Index][Thread]

Re: 2 answer quadratics on TI-85?



How about:


Disp "Ax^2+Bx+C=0"
Prompt A
Prompt B
Prompt C
Disp "x=",(-B+\sqrt\(B*B-4A*C))/(2A)\>Frac\
Disp "or",(-B-\sqrt\(B*B-4A*C))/(2A)\>Frac\


\sqrt\ is the square root key
\>frac\ is in the Math/Misc menu




At 02:06 10/10/96 GMT, kannon@USA.NET wrote:
>On Sat, 05 Oct 1996 21:05:01 -0700, K Walker <kwalker@jagunet.com>
>wrote:
>
>>to get both answers, use the [2nd] [poly] solver. choose 2 if the
>>highest exponent is x squared, then just enter the coefficients the way
>>it says and
>>solve. you will get all roots, real and imaginary. it should be the same
>>number of roots as the degree of the equation.
>>
>>-kenny
>
>what would be the code if i were to write a program for this?  ive
>been playing with it for a while now and cant quite get it right.
>
>
+--------------------------------------------------------+
| Peter Kolbus                           +1.810.474.0872 |
| ae607@detroit.freenet.org      #include <disclaimer.h> |
+--------------------------------------------------------+
| Due to financial problems, the light at the end of     |
|   the tunnel has been permanently disconnected.        |
|                                                        |
| Who is General Failure, and who gave him permission    |
|    to read drive C?                                    |
|                                                        |
| ***Written using 100% recycled electrons***            |
|         *** (70% post-consumer) ***                    |
+--------------------------------------------------------+


References: