Re: 2 answer quadratics on TI-85?


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

Re: 2 answer quadratics on TI-85?



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.


 You will need to use "poly" in your progam; poly can be found in the
catalog by pressing [2nd], [custom], then scrolling down til you see it.
When used this way, poly takes a *list* as the argument and returns a
*list* of solutions. Also, the brackets are at the end of the catalog or
can be found by pressing [2nd] the [-], but you probably know this
already.


 For example, if you enter this at the home screen : poly {1,2,-3}
You will get this                                  : {-3,1}


 In a program, you might have something like this  : poly {A,B,C}->roots
where your program uses whatever values are in those variables to create
the roots list.
<pre>
--


Arren
ahfisher@eos.ncsu.edu
</pre>


References: