[TIB] Re: FOILing a Quadratic


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

[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




Follow-Ups: References: