Question: use pythons as language 4) Write a python function to approximate the sum: $(x)=5 (= The series converges for x > 1, but convergence is
4) Write a python function to approximate the sum: $(x)=5 (= The series converges for x > 1, but convergence is very slow as x approaches 1. See if you can get a solution for x = 2. There is an exact solution $(2)=r^l6 which you can use to check your result. You will need to implement a tolerance test to terminate the loop when additional terms are sufficiently small. For example, you could use the condition that the kth term is a small fraction of the sum, Ex=k *75*(x), where $x (x) is the sum of the first k terms. The tolerance test should ensure that Ek is less than 10-15 before terminating the series. It will need a lot of terms so it can take a few minutes. It should be a lot quicker for larger x. As an aside, the function $(x) is the Riemann zeta function and is important in number theory
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
