========================
=  Simple Polynomials  =
========================
 
Authors: Pollack, Bary W - 1234 - Sect 001
         Someone, Else   - 2345 - Sect 001
Date:    January 26, 2001  (date assignment is due)
Course:  CIS 110L - Data Structures & Algorithms - Assignment L1
 
This program reads a sequence of data representing an exponent
followed by a pair of polynomials, P1 and P2.  The difference,
(3*P1 - 2*P2) is formed and then raised to the power of the exponent.
The values of P1, P2 and the exponentiated difference are displayed.
Input continues until an exponent less than zero is encountered.
 
Expression number 1:
Exp:              2
P1:               7X^2 + 1
P2:               4X - 5
3*P1-2*P2:        21X^2 - 8X + 13
(3*P1-2*P2)^2     441X^4 - 336X^3 + 610X^2 - 208X + 169

Expression number 2:
Exp:              1
P1:               12X
P2:               -6X + 4
3*P1-2*P2:        48X - 8
(3*P1-2*P2)^1     48X - 8

Expression number 3:
Exp:              9
P1:               2X^2 + 1
P2:               X^5 + 3X^2 + 1
3*P1-2*P2:        -2X^5 + 1
(3*P1-2*P2)^9     -512X^45 + 2304X^40 - 4608X^35 + 5376X^30
                  - 4032X^25 + 2016X^20 - 672X^15 + 144X^10
                  - 18X^5 + 1


That's all, folks!

