Answered step by step
Verified Expert Solution
Question
1 Approved Answer
show code and explain each step Use the MATLAB command format long e to display your numerical results with 15 digits of precision. Consider the
show code and explain each step
Use the MATLAB command "format long e" to display your numerical results with 15 digits of precision.
Consider the Riemann zeta function(s)=_(k=1)^1/k^x .
The value of is approximated by the succession of partial sums; and is denoted by the error of said approximation.
Show the following dimension for the error 0e_n1/(k-1)^x 1^(x-1) ..
Use this bound to obtain n "N" that guarantees an error less than 10^9 whenx=1.1, not
you are asked to approximate (x).
-Include the implementation of the routine "[Z_l,Z_R ]=zetaRieman(x,n)", in MATLAB, in which returns the approximation of (x) through the summation S_n, which is calculated from two different ways:
Z_Lis calculated by accumulating from the left, that is,
Z_L=(((1+1/2^x )+1/3^x )++1^x )
Z_R is calculated by accumulating from the right, that is,
.
Z_R=(1+(1/2^x ++(1/(n-1)^x +1^x )+))
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started