# Algorithm to add two polynomials?

Consider using an array where each index represents the value for the equivalent exponent. So 4x^4 + 5x^3 - 4 would be [-4, 0, 0, 5, 4]. Use a parsing method to separate bases, signs and exponents to properly distribute the elements, such as the String Class.

### How can you add two polynomials using link-list?

To add two polynomials using a linked list, you could build a list of coefficients to the polynomial. Remember that a polynomial is in the form ax0 + bx1 + cx2 + dx3 ... and so on. The linked list would contain the coefficients a, b, c, d, and etc. Since a linked list is variable in length, you could handle polynomials of arbitrary degree, up to the limits of memory. To add two polynomials…

### Write an assembly language program and algorithm to add two 16-bit numbers for 8086 microprocessors?

### How do you multiply three or more polynomials?

To multiply TWO polynomials, you multiply each term in the first, by each term in the second. This can be justified by a repeated application of the distributive law. Two multiply more than two polynomials, you multiply the first two. Then you multiply the result with the third polynomial. If there are any more, multiply the result with the fourth polynomial, etc. Actually the polynomials can be multiplied in any order; both the communitative and…

### When you add polynomials what do you do with your exponents?

Nothing. The exponents are not affected when added polynomials. However, they play a role in which variables add or subtract another variable. For example. (3x^2+5x-6)+(4x^2-3x+4) The exponents would determine that when adding these polynomials that 3x^2 would be added to 4x^2 and so forth 5x-3x and finally -6 would be added to 4. With a final conclusion of (7x^2+2x-2)

### Why it is not possible to add two polynomials of degree 3 and get a polynomial of 4?

When you add polynomials, you simply add the coefficients of the variable taken to the same degree. For example (x3 + 2x2 + 3x + 4) added to (2x3 - 4x2 + x -2) would give you [(1+2)x3 + (2-4)x2 + (3+1)x + (4-2)] or 3x3 - 2x2 + 4x + 2 You would get a fourth degree polynomial by multiplying this one by x. Another way to think of it: If you add 1…

### Algorithm for addition of two polynomials using linked list?

Let p and q be the two polynomials represented by the linked list. 1. while p and q are not null, repeat step 2. 2. If powers of the two terms ate equal then if the terms do not cancel then insert the sum of the terms into the sum Polynomial Advance p Advance q Else if the power of the first polynomial> power of second Then insert the term from first polynomial into sum…

### C program to add two polynomials using two dimensional arrays and functions without using structure?

No structure? Then don't use any computer program/language, because they are all structured. The 2-dimensional array is a kind of (data) structure as well. Also, to apply 2D array as the representation of polynomials: 1. How many variables in this "polynomials", 1, 2, or more? 2. the highest power (rank) is 1? 3, in the form of aX+ b, represented by [a, b], or [b,a]? C program would not be able to represent an polynomial…

### What has the author Richard Askey written?

Richard Askey has written: 'Three notes on orthogonal polynomials' -- subject(s): Orthogonal polynomials 'Recurrence relations, continued fractions, and orthogonal polynomials' -- subject(s): Continued fractions, Distribution (Probability theory), Orthogonal polynomials 'Orthogonal polynomials and special functions' -- subject(s): Orthogonal polynomials, Special Functions