Question: Problem 6 : Evaluating a Polynomial at Multiple Points Write a Python program that evaluates the polynomial P ( x ) = 2 x 2

Problem 6: Evaluating a Polynomial at Multiple Points
Write a Python program that evaluates the polynomial P(x)=2x2+3x+1 at the points x=0,1,2,3,4. Print the list of function values at these points P(0),P(1),P(2),P(3),P(4). Hint: Using a list comprehension is the easiest way, but you can also use a for loop, or a numpy array.
Solution:
# put your python code here
Problem 6 : Evaluating a Polynomial at Multiple

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 Programming Questions!