![Mlmyers81](/avatars/5077.jpg)
Mlmyers81
12.06.2020 •
Computers and Technology
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.
Solved
Show answers
More tips
- F Food and Cooking What age is appropriate for giving your child cocoa?...
- A Auto and Moto How to Start a Diesel Engine in Cold Weather?...
- F Family and Home How to Remove Tar Stains: Tips and Recommendations from Experts...
- F Family and Home How to Remove Fading from Clothes: Tips and Tricks...
- S Sport How to Do a Jumping Split...
- H Health and Medicine How Did Inna Lose Weight on Dom 2?...
- F Family and Home How to Properly Fold Napkins in a Napkin Holder?...
- F Food and Cooking How to Set Up Ventrilo - The Ultimate Guide...
- S Science and Technology How to Make a Homemade Smoker: The Ultimate Guide...
- A Auto and Moto Battle for the Relocation of The Cherkizovsky Market: Who Won?...
Answers on questions: Computers and Technology
- C Computers and Technology What occurs when an application sends user-fed data directly to a web browser without authenticating or deleting the content? cross-site occurs when an application...
- C Computers and Technology This program is supposed to write 1 4 9 16 25 36 49 64 81 100 , but it probably does not. What is the program doing that is incorrect...
- C Computers and Technology A particular node is failing to connect to a certain network devices properly, the IP address information is as as follows IP address 192.168.210 subnet 225.254.0.0...
- S Social Studies What is civics in history?!?!...
- M Mathematics Help me with my quiz...
- M Mathematics 3^(x²+1)×2x=-(1/5) Find the x...
- S Social Studies Do you think this app is user-friendly enough?Personally, I don t think so....
- M Mathematics Given the following data: 10, 8, 9, 16, 19, 15, 20, 16, 21, 22, 19, Which of the following is the box-and-whisker graph for this data? A) C) רדיד 5 10 15 20 25...
- H History Why did Strom Thurmond begin to change with the times as various civil rights laws were passed? A filibuster by Thurmond s Democratic colleagues convinced him that...
- M Mathematics Monsters were surveyed as they left Harryhausen sSushi Restaurant. Since70 out of 75 monsters said they would surely eat there again, a local newspaper declared...
Ответ:
I think it might be C
Explanation: