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, 22.06.2019 20:00
Which type of file can be used to import data into a spreadsheet?
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
Choose the answers that best complete each sentence. on average,are more expensive than other kinds of postsecondary schools. the cost of room and board includes. to save money, some students attend auniversity in their home state.
Answers: 2
question
Computers and Technology, 23.06.2019 15:20
An ou structure in your domain has one ou per department, and all the computer and user accounts are in their respective ous. you have configured several gpos defining computer and user policies and linked the gpos to the domain. a group of managers in the marketing department need different policies that differ from those of the rest of the marketing department users and computers, but you don't want to change the top-level ou structure. which of the following gpo processing features are you most likely to use? a, block inheritance b, gpo enforcement c, wmi filtering d, loopback processing
Answers: 3
question
Computers and Technology, 24.06.2019 16:00
This isn't about school but every time it tells me to watch an ad to unlock the answer to a question it prompts a survey and it just keeps loading. so i haven't been able to get answers for my tests in like a week.
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
Biology, 12.07.2019 21:30
question
English, 12.07.2019 21:30
question
History, 12.07.2019 21:30
Questions on the website: 13722359