Program:	SYNTHDIV
Author:	Dave Gaebler
February 17, 1999

Variables used:[A],A,C,D,X,L1,L2
Synthetic division is a method for dividing a polynomial f(x) by a linear factor of the
form x-a. The result is a polynomial (called the "depressed polynomial") and a constant
remainder equal to f(a).  This program prompts you for a list of the coefficients of the
polynomial (for example, x^2-3x+5 would be {1,-3,5}) and a list of the divisors (to divide
by x-2 and x+3, enter {2,-3}).  The results are displayed in a matrix.  The upper left 
entry is always zero.  Across the top are the coefficients of the polynomial you started 
with.  Each row below that consists of the divisor (-5 for x+5, etc.) followed by the 
depressed polynomial and the remainder.  For example, if you said to divide x^2-3x+5 by 
x-2, x+3, and x+5, the result would be the following matrix:
				[[0  1 -3 5 ]
				 [2  1 -1 3 ]
				 [-3 1 -6 23]
				 [-5 1 -8 45]]
This indicates that (x^2-3x+5)/(x-2)=x-1 with a remainder of 3, (x^2-3x+5)/(x+3)=x-6 with 
a remainder of 23, and (x^2-3x+5)/(x+5)=x-8 with a remainder of 45.  Each division is 
performed separately; the list is just a convenient way to do several and only have to 
run the program once.

