Question: python Use code to find polynomial: #Roots of polynomials import numpy as np user_input = input(Enter the coeffecients of the polynomal: ) coeffs = user_input.split()

pythonpythonUse code to find polynomial: #Roots of polynomials import numpy as npUse code to find polynomial:

#Roots of polynomials import numpy as np user_input = input("Enter the coeffecients of the polynomal: ") coeffs = user_input.split() coeffs = [float(value) for value in coeffs] roots = np.roots(coeffs) print(roots) result = np.polyval(coeffs, roots) print(result)

3. (2 Points) Write a program that returns True if the value 2.0 is a root of the polynomial Plz) = z4-7.5r3 + 14.512 + 3r-20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!