A
A
ArtMyFate2021-06-20 19:49:55
Python
ArtMyFate, 2021-06-20 19:49:55

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 60cf719a84b1c984897219.jpeg? 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

1 answer(s)
4
4X_Pro, 2021-06-20
@ArtMyFate

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 question

Ask a Question

731 491 924 answers to any question