[TIB] AW: Re: FOILing a Quadratic
[Prev][Next][Index][Thread]
[TIB] AW: Re: FOILing a Quadratic
I made such a program... it is on ticalc.org already.
Take a look at it, it's called polysolver (polys)
MA
-----Ursprungliche Nachricht-----
Von: ti-basic-bounce@lists.ticalc.org
[mailto:ti-basic-bounce@lists.ticalc.org]Im Auftrag von Rob van Wijk
Gesendet: Montag, 22. April 2002 11:13
An: ti-basic@lists.ticalc.org
Betreff: [TIB] Re: FOILing a Quadratic
>
> I've been making a program that solves for X in the quadratic=
> equation, but I'd also like to have it display the part:
>
> (X+n)(X+m)=3D0
> What I've come up with is a couple for loops trying to get=
> numbers that add up the B and then test to see if when
> multiplied equal C. I've had no luck and am even more confused.=
> Dealing with A and all, please help?
>
>
Do you know the quadratic formula?
aX^2 + bX + c = 0
X1=(-b+sqrt(b^2-4ac))/(2a)
X2=(-b-sqrt(b^2-4ac))/(2a)
where sqrt() is the square root
Rob van Wijk
(BTW, for which calc are you programming?)
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
References: