writing a simple python program- Write a program that prints the results of addition of two polynomials. + For instance,
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
writing a simple python program- Write a program that prints the results of addition of two polynomials. + For instance,
writing a simple python program- Write a program that prints the results of addition of two polynomials. + For instance, the first polynomials x2 + 5x, which can be expressed as [0,5, 1]; the second polynomials – x3 – 2x2 + 3 can be presented as [3,0, -2, -1]. The addition of two polynomials is – x3 – x2 + 5x + 3, can be printed as [3, 5,-1,-1]. Example: (user input is shown in Italic ) Input:- please input the first poly, low order in front. 0 5 14 please input the second poly, low order in front. 30-2-14 Output:- The addition result is 3, 5, -1, -14 الب
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!