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()
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() 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
Get step-by-step solutions from verified subject matter experts
