PE: POLYNOMIAL MANAGEMENT -Evaluation of a polynomial (degree, coefficients, value) -Addition of two polynomials -Multiplication of two polynomials -Subtraction of two polynomials -Division of two polynomials NB: Each time the user must enter the degree and the coefficients of the polynomials concerned The report should contain: The algorithm The program The execution trace PLease explain your code in a step-wise manner. Thanks in advanced!
Max Function
Statistical function is of many categories. One of them is a MAX function. The MAX function returns the largest value from the list of arguments passed to it. MAX function always ignores the empty cells when performing the calculation.
Power Function
A power function is a type of single-term function. Its definition states that it is a variable containing a base value raised to a constant value acting as an exponent. This variable may also have a coefficient. For instance, the area of a circle can be given as:
TPE: POLYNOMIAL MANAGEMENT
-Evaluation of a polynomial (degree, coefficients, value)
-Addition of two polynomials
-Multiplication of two polynomials
-Subtraction of two polynomials
-Division of two polynomials
NB: Each time the user must enter the degree and the coefficients of the polynomials concerned The report should contain: The
PLease explain your code in a step-wise manner. Thanks in advanced!

Trending now
This is a popular solution!
Step by step
Solved in 5 steps with 1 images

Hi sir! Please kindly arrange/transfer the Modified code snippet: you just did in an msword doc or pdf format. After the transfer please do verify if the code still executes because each time i transfer it to ms word or pdf, and i copy it from word/pdf, the code refuses to execute. I guess its due to the alignement of the codes onced converted to pdf. Please I will be very grateful if you help me with this task!❤️
Hi sir! Please modify the Updated code :: such that the polynomial appears in the execution result before giving us the final answer. More importantly, I want it to display the power of the polynomial without necessarily including the "^" symbol.
Hi sir! Please modify the Updated code :: such that the polynomial appears in the execution result before giving us the final answer.
Please write an
The algorithm should be a program that explains what the code does exactly. This algorithm should be written with python
Nb: Algorithm ≠ code
Below is an example of an algorithm am talking about
![Variables.
whole degree
coefficients: array of reals coefficient, number, image: reals
i: integer
Beginning
Write "Enter the degree of the polynomial P(x) you want: coefficients []
Read degree
For i ranging from 0 to degree Do Write "Enter the coefficient for the monomial x^", i, Add coefficient to coefficients
Read coefficient
End if
Write "The polynomial P(x) is: "For i ranging from 0 to degree Do
AND
If coefficients [i] != 0 Then If i = 0 Then
Write coefficients[i]
Elseif i 1 Then
If coefficients [i] < 0 Then
Write "-", -coefficients[i], "x"
Otherwise
Write "+", coefficients [i], "x"
Finnish
Otherwise
If coefficients[i] < 0 Then
Write "-", -coefficients [i], "x^", i
Otherwise
Write "+", coefficients[i], "x^", i
End if
End if
End if
EndFor
Write "Enter a number to calculate its image by P(x):
Read number frame-0
For i going from 0 to degree Make
image image + coefficients [i] (nombre)^i
EndFor
Write "The image of ", number," by P(x) is: ", image
END](https://content.bartleby.com/qna-images/question/96b6c190-af9c-4cfb-bfe0-dca6b5c7508c/56bd57e4-2ca3-4a96-82e9-f63503af22bc/euvs58_thumbnail.jpeg)
Hi sir! Please I will like you to modify this code such that the program and
Also, I will like you to write the algorithm as a simple code(

![Variables.
whole degree
coefficients: array of reals coefficient, number, image: reals
i: integer
Beginning
Write "Enter the degree of the polynomial P(x) you want: coefficients []
Read degree
For i ranging from 0 to degree Do Write "Enter the coefficient for the monomial x^", i, Add coefficient to coefficients
Read coefficient
End if
Write "The polynomial P(x) is: "For i ranging from 0 to degree Do
AND
If coefficients [i] != 0 Then If i = 0 Then
Write coefficients[i]
Elseif i 1 Then
If coefficients [i] < 0 Then
Write "-", -coefficients[i], "x"
Otherwise
Write "+", coefficients [i], "x"
Finnish
Otherwise
If coefficients[i] < 0 Then
Write "-", -coefficients [i], "x^", i
Otherwise
Write "+", coefficients[i], "x^", i
End if
End if
End if
EndFor
Write "Enter a number to calculate its image by P(x):
Read number frame-0
For i going from 0 to degree Make
image image + coefficients [i] (nombre)^i
EndFor
Write "The image of ", number," by P(x) is: ", image
END](https://content.bartleby.com/qna-images/question/96b6c190-af9c-4cfb-bfe0-dca6b5c7508c/c03b83be-35cc-467f-963b-8d5f0769c2d1/d36jx27_thumbnail.jpeg)
Hello Sir! Hope you're fine!
I tested your code on various python platforms and none of them seems to be executing. Please kindly verify the codes above and assemble them in a word document once they are in tact. As soon as you're done with the codes, please send me the word doc or in pdf format. Thanks in advanced!!!❤️
![← → C
Fiverr / cheryl_anna...
trinket
trinket.io/python
Privacy Terms
fi Fiverr / Inbox
4
5
6
7
CONTENEG
Free Email Extractor....
Put Interactive Python Anywhere on the Web
Customize the code below and Share!
<> main.py
1 + def add_polynomials (degreel, coefficients1, degree2, coefficients2):
max_degree= max(degreel, degree2)
2
3
8 # Execution Trace
11
Remove Audio fro...
S
(1) Langmia Hustle T...
12
9 degree_1= int(input ("Enter the degree of the first polynomial: "))
14
LachoFit (@lachofit)...
coefficients1 = coefficients1 + [0] * (max_degree - degree1)
coefficients2 = coefficients2 + [0]* (max_degree
degree2)
result
[coeff1 coeff2 for coeff1, coeff2 in zip (coefficients1, coefficient
return max_degree, result
10 coefficients_1 = [float(input (f"Enter coefficient for x^{degree_1 - i}: ")) for i
++ B
degree 2 int (input("Enter
degree of second polynomial: "))
13 coefficients_2 = [float (input (f"Enter coefficient for x^{degree_2 i): ")) for i
Homeworki
15 degree_result, coefficients_result = add_polynomials (degree_1, coefficients_1, deg
16 print (f"The result of addition is: {coefficients_result}")](https://content.bartleby.com/qna-images/question/96b6c190-af9c-4cfb-bfe0-dca6b5c7508c/8f7f11f7-cdc8-4178-afee-ad32446a7247/qytcgv_thumbnail.jpeg)








