Question: Write a python program that uses circular lists or doubly lists to represent polynomials, then adds, subtracts, multiplies, displays and evaluates polynomials. Subtraction is accomplished

Write a python program that uses circular lists or doubly lists to represent polynomials, then adds, subtracts, multiplies, displays and evaluates polynomials. Subtraction is accomplished by using scalar multiplication with the coefficient -1 and then doing normal addition. Use the following for testing if the program works:

  1. 5x2y2z3 + 2xz4 + y2z + z
  2. 3x4y4z4 + 12x3 + y2z2 + 2yz3
  3. 2xyz

Evaluate each of A, B, C at the following points: x=0, y=1, z=2

A + B

A + C

B + C

B - A

A*B

A*C

B*A

B*C

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!