For addition and subtraction, the program works by first ensuring that both polynomials have the same degree. 이는 낮은 차수의 다항식에 계수가 0인 항을 추가함으로써 달성할 수 있습니다. Once this has been accomplished, we simply add the terms that have the same exponent.