{"id":9555,"date":"2021-09-30T11:30:09","date_gmt":"2021-09-30T06:00:09","guid":{"rendered":"https:\/\/python-programs.com\/?p=9555"},"modified":"2021-11-22T18:35:30","modified_gmt":"2021-11-22T13:05:30","slug":"python-program-to-compute-a-polynomial-equation-given-that-the-coefficients-of-the-polynomial-are-stored-in-a-list","status":"publish","type":"post","link":"https:\/\/python-programs.com\/python-program-to-compute-a-polynomial-equation-given-that-the-coefficients-of-the-polynomial-are-stored-in-a-list\/","title":{"rendered":"Python Program to Compute a Polynomial Equation given that the Coefficients of the Polynomial are stored in a List"},"content":{"rendered":"

Are you new to the java programming language? We recommend you to ace up your practice session with these Basic Java Programs Examples<\/a><\/p>\n

Given Coefficients of the polynomial and x which are stored in the list, the task is to compute the value of the polynomial equation with given x from the given Coefficients in Python.<\/p>\n

Examples:<\/strong><\/p>\n

Example1:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

given coefficient list = [7, 1, 3, 2]<\/pre>\n

Output:<\/strong><\/p>\n

The total value of the given polynomial 7 x^3 +1 x^2 +3 x +2 with the given value of x=5 is 917<\/pre>\n

Example2:<\/strong><\/p>\n

Input:<\/strong><\/p>\n

 given coefficient list = [3, 9, 1, 2]<\/pre>\n

Output:<\/strong><\/p>\n

The total value of the given polynomial 3 x^3 +9 x^2 +1 x +2 with the given value of x 6 = 980<\/pre>\n

Program to Compute a Polynomial Equation given that the Coefficients of the Polynomial are stored in a List<\/h2>\n

There are several ways to compute the value of the polynomial equation with given x from the given Coefficients in Python some of them are:<\/p>\n