Computer Science, asked by kavinmozhi189, 7 months ago

addition of 2 polynomials using linked list a=3x^14+2x^18+1 b=8x^12+3x^10+3x^8+10x^6​

Answers

Answered by asmitashelke33
0

Answer:

(x3 + 3x2 + 5x – 4) – (3x3 – 8x2 – 5x + 6)

(x3 + 3x2 + 5x – 4) – 1(3x3 – 8x2 – 5x + 6)

(x3 + 3x2 + 5x – 4) – 1(3x3) – 1 (–8x2) – 1(–5x) – 1(6)

x3 + 3x2 + 5x – 4 – 3x3 + 8x2 + 5x – 6

x3 – 3x3 + 3x2 + 8x2 + 5x + 5x – 4 – 6

–2x3 + 11x2 + 10x –10

And here's what the subtraction looks like, when going vertically:

\small{ \begin{array}{rrrr}x^3&+3x^2&+5x&-4\\-(3x^3&-8x^2&-5x&+6)\\ \hline\end{array} }  

x  

3

 

−(3x  

3

 

 

+3x  

2

 

−8x  

2

 

 

+5x

−5x

 

−4

+6)

Explanation:

Similar questions