subject

Apolynomial of degree n with coefficients a0, a1, a2, an is the function p(x) = a0 + a1x + a2x 2 + a3 βˆ— x 3 + + an βˆ— x n this function can be evaluated at different values of x. for example, if p(x) = 1 + 2x+ x 2, then p(2) = 1 + 2 βˆ— 2 + 22 = 9. if p(x) = 1 + x 2 + x 4, then p(2) = 21 and p(3) = 91. write a function poly() that takes as input a list of coefficients a0, a1, a2, an of a polynomial p(x) and a value x. the function will return p(x), which is the value of the polynomial when evaluated at x. note that the usage below is for the three examples shown. > > > poly([1, 2, 1], 2) 9 > > > poly([1, 0, 1, 0, 1], 2) 21 > > > poly([1, 0, 1, 0, 1], 3) 91

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 13:30
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
question
Computers and Technology, 24.06.2019 10:10
Scanning the road can be thought of as a
Answers: 2
question
Computers and Technology, 24.06.2019 14:00
Fast answer i need for apex ! smartphones should be banned from the classroom in public schools so that students cannot cheat on test so easily? which is an example of a counter argument to the thesis above? a.the classroom is a place for learning not for making phone calls b. smartphones are useful learning tools in the modern classroom c.banning smartphones will not students pay attention to teachers any better d. banning smartphones would decreased incidents of theft
Answers: 2
question
Computers and Technology, 24.06.2019 20:10
Approximately what portion of global employers tends to use social media websites to hire new employees?
Answers: 1
You know the right answer?
Apolynomial of degree n with coefficients a0, a1, a2, an is the function p(x) = a0 + a1x + a2x 2 +...
Questions
question
Physics, 27.05.2020 22:06
question
Mathematics, 27.05.2020 22:06
question
Mathematics, 27.05.2020 22:06
question
English, 27.05.2020 22:06
question
Mathematics, 27.05.2020 22:06
question
History, 27.05.2020 22:06
question
Geography, 27.05.2020 22:06
Questions on the website: 13722367