Polynomial Arithmetic Calculator
Given two real or complex polynomials $A(x)=a_nx^n+a_{n-1}x^{n-1}+\cdots+a_2x^2+a_1x+a_0$ and $B(x)=b_mx^m+b_{m-1}x^{m-1}+\cdots+b_2x^2+b_1x+b_0$, this application can calculate $A(x)+B(x)$, $A(x)-B(x)$, $A(x)\times B(x)$, and $A(x)\div B(x)$. In the latter case the calculated results consist of just the quotient if $A(x)$ is evenly divisible by $B(x)$ or both the quotient and the remainder otherwise.
Input Data
The input polynomials $A(x)$ and $B(x)$, and output polynomials are in the same format as described in Polynomial Root Calculator.