subject

Function Name: poly Parameters: list of ints, int Returns: int Description: A polynomial of degree n with coefficients a0,a1,a2,a3, . . . ,an is the function p(x) = (a0 * x0) + (a1 * x1) + (a2 * x2) + (a3 βˆ— x3) + . . . + (an βˆ— xn) This function can be evaluated at different values of x. For example: If p(x) = 1+2x1+ x2, then p(2) = 1+2 βˆ— 2+22 = 9. If p(x) = 1+x2+x4, then p(2) = 21 and p(3) = 91. Write a function poly() that takes as input a list of coefficients a0, a1, a2, a3, . . . , an of a polynomial p(x) and a value x. The function will return poly(x), which is the value of the polynomial when evaluated at x.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
6. the is particularly susceptible to the effects of alcohol because it receives a large portion of total blood flow and has a high concentration of neurons. a. heart b. pancreas c. brain d. liver
Answers: 2
question
Computers and Technology, 22.06.2019 17:30
How do you make a lenny face? plz, brailiest to who can answer first.
Answers: 1
question
Computers and Technology, 23.06.2019 10:00
Install and use wireshark program ( send back screen shots and other vital information) case project 3-2: decode a tcp segment in a wireshark capture in this chapter, you walked through tcp segment to interpret the data included in its header. in this project, you use wireshark to capture your own http messafes, examine the tcp headers, and practice interpreting the data you'll find there. 1. open wireshark and snap the window to one side of your screen. open a browser and snap that window to the other side of your screen so you can see both windows.
Answers: 2
question
Computers and Technology, 23.06.2019 14:00
Technician a says that with self-adjusting clutch systems, the release bearing constantly rotates. technician b says that the ball bearing portion of the release bearing should be lubricated with high-temperature grease during routine maintenance. which technician is correct?
Answers: 2
You know the right answer?
Function Name: poly Parameters: list of ints, int Returns: int Description: A polynomial of degree n...
Questions
question
History, 28.04.2021 04:50
question
Mathematics, 28.04.2021 04:50
question
Mathematics, 28.04.2021 04:50
question
Arts, 28.04.2021 04:50
question
Mathematics, 28.04.2021 04:50
Questions on the website: 13722367