subject

Pythonin an earlier lab, we observed how we could have a function that is undefined at some value (such as (sin x)/x at the point x=0), but could come arbitrarily close to it by successively evaluating smaller and smaller numbers (i. e. taking a limit). for example, we might evaluate at x=0.1, x=0.01, x=0.001, etc. until we have come very close to the value. taking limits like this, numerically, is commonly done when functions are too complicated to evaluate analytically. you will write a program to compute a derivative as a numerical limit. this activity has a few parts: evaluating a polynomial limit analyticallyyou should have learned by now the process for finding the derivative of a polynomial (as another polynomial). write a program that will read in from the user a cubic polynomial f(x) (as a set of 4 coefficients), and use this to compute the derivative polynomial (i. e. compute the three coefficients of the derivative f’( then, read in a value for x from a user, and evaluate the derivative polynomial at that x. print out that value. evaluating a polynomial derivative numericallyfor a function f(x), the derivative of the function at a value x can be found by evaluating fx+a-f(x)a nxisxaka6h6reaeitfd6xpepj4bwmuukujn ajjio and finding the limit as a gets closer and closer to 0. using the same polynomial as the user entered in part (a), and for the same value of x as entered in part (a), compute the limit numerically. that is, start with an estimate by evaluating fx+a-f(x)a nxisxaka6h6reaeitfd6xpepj4bwmuukujn ajjio using a value for a such as 0.1. then, repeatedly halve the value of a until the difference between successive evaluations of fx+a-f(x)avczspf7 is less than some small value, such as 10-6. print the result, along with the number of evaluations it took. calculate how close that result is to the actual answer, computed in part (a).challenge: derivatives can also be estimated by computing the limit fx-f(x-a)am32jndc9yne7bizhpwdunokdp zuq6usuvor or fx+a-f(x-a)2aryeezje74ofersuwxwsklw y0h084in0cnz6mslkt . try computing each of those, and calculate how many iterations you need to converge to the limit. do you get different results with any of them, or does any of them take fewer steps to get an answer? be sure to include appropriate comments in your code, and to use descriptive input and output statements.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:20
Write a select statement that returns product name, customer first name, customer last name, channel description, and amount sold for all the sales. make sure to returns sales even if there is no information on the customer, product, or channe
Answers: 2
question
Computers and Technology, 22.06.2019 13:00
Which part of the cpu accepts data?
Answers: 1
question
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
question
Computers and Technology, 22.06.2019 20:00
Need asap assignment directions: think of an organization (business, religious institution, volunteer organization, sports team) with which you have been involved. imagine outfitting it with an it infrastructure. prepare a plan for what you would do to support outfitting it. draw a map of a network connecting all the individuals, give them pcs and printers, and lay out the design as best you can. the purpose is to begin working with these concepts, not to build a perfect network.
Answers: 2
You know the right answer?
Pythonin an earlier lab, we observed how we could have a function that is undefined at some value (s...
Questions
question
Mathematics, 14.04.2021 21:20
question
Mathematics, 14.04.2021 21:20
question
Mathematics, 14.04.2021 21:20
question
Mathematics, 14.04.2021 21:20
Questions on the website: 13722363