Question: python 3 please Bonus Question: Finding the extrema of a polynomial (4 points) Given a list, p which contains the coefficients of some polynomial p(x)
Bonus Question: Finding the extrema of a polynomial (4 points) Given a list, p which contains the coefficients of some polynomial p(x) in standard form in ascending degree, and a left bound a and a right bound b write a function find extrema(p, a, b) that returns a set of tuples that contain all of the extrema within these bounds inciusive with a string indicating if it is a local minimum or local maximum. For instance, p 6,-5,0.9] for the polynomial px) 6- Sx+22 +9x3 With a left bound a of -1 and a right bound b of 1, the function find extrema (p, a, b) should return (Local maximum, -0.511). ('Local minimum', 0.363) You are not allowed to import any libraries for this question. Hints: have a look at the recursive Newton's method: lfAn is an approximate solution ofn)-0 and/(h)0 the next approximation is given by http:/tutorial math lamar edu/Classes Calcl/NewtonsMethod aspx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
