Project06
Home ] Up ]

 

CSIS 250 Spring 2000 Assignment #6

Date Assigned: April 5, 2000

Date Due:         April 14, 2000 at 10:00 AM (Algorithm worth 10 points due on April 10)

Total points: 40
Test values and corresponding results for project #6

 

input: 0

 coef: 0

 expo: 0

 term:0

===================

input: 1

 coef: 1

 expo: 0

 term:+1*x^0

===================

input: x

 coef: 1

 expo: 1

 term:+1*x^1

===================

input: 2*x

 coef: 2

 expo: 1

 term:+2*x^1

===================

input: x^3

 coef: 1

 expo: 3

 term:+1*x^3

===================

input: 4*x^4

 coef: 4

 expo: 4

 term:+4*x^4

===================

input: x^5

 coef: 1

 expo: 5

 term:+1*x^5

===================

input: -1

 coef: -1

 expo: 0

 term:-1*x^0

===================

input: -x

 coef: -1

 expo: 1

 term:-1*x^1

===================

input: -2*x

 coef: -2

 expo: 1

 term:-2*x^1

===================

input: -x^3

 coef: -1

 expo: 3

 term:-1*x^3

===================

input: -4*x^4

 coef: -4

 expo: 4

 term:-4*x^4

===================

input: -x^5

 coef: -1

 expo: 5

 term:-1*x^5

===================