Program:	ALLROOTS
Author:	Dave Gaebler
February 17, 1999

Variables used: A,B,C,D,E,F,G,H,I,J,L1,L2,L3,Str1,Y1
The program starts with a menu allowing you to choose one of four 
things to do.  (1) Find the solutions of a quadratic equation using 
the quadratic formula.  (2) Find all the solutions of a cubic equation 
with the cubic formula.  (Yes, there is one!)  (3) Find all the 
solutions of a quartic equation using the quartic formula.  (Yes, 
there's one of those, too...but none for higher degrees.  Abel proved 
that in 1827.)  (4) Find all the rational roots of a polynomial 
(of any degree) with integer coefficients.  You enter the factors of 
the first and last coefficients (check out my brother's cool factoring 
program ABIGSIV if you need something factored).  (Don't just enter 
PRIME factors, though.  For twelve, enter {1,2,3,4,6,12}.  And you don't 
have to enter negative factors for negative numbers.)  Then, 
using the Rational Roots Theorem, all the possible rational roots are 
checked to see if they actually are roots.  You will be given either a 
list of the rational roots or the message "NO RATIONAL ROOTS."

Note: The Rational Roots Theorem does not apply if the constant term
is zero.  If it is, factor out the highest power of x possible, then
use the Rational Roots Theorem on what's left.  