Answer the question
In order to leave comments, you need to log in
How to calculate and display on the monitor screen in the form of a table the value of a function specified using a Taylor series?
Can someone help solve ? Calculate and display in the form of a table the values of the function specified using the Taylor series on the interval from Xbegin to Xend with a step dx and an accuracy of ε. Each row of the table must contain the value of the argument, the value of the function, and the number of summed terms of the series. The table must have a title and a header. Throws ValueError: math domain error
Answer the question
In order to leave comments, you need to log in
It takes two cycles. The first increments the value of x from Xstart to Xend and calls the function for calculating the value for point x. The second one (it must be placed inside the function) counts the next member of the series and adds it to the total sum until this very member becomes less than ε (the initial value of the sum is zero). It then returns the sum as the result of the function.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question