Problem 45997. Evaluate the zeta function for complex arguments
Cody Problem 45988 involved computing the Riemann zeta function for real arguments greater than 1. Code that works for that problem can reveal the connection between π and the values of the zeta function evaluated at positive even integers; this connection is explored in Cody Problem 45939. However, to test the Riemann hypothesis--that all non-trivial zeros of the zeta function have a real part of 1/2, one needs to compute the zeta function for complex arguments.
Write a function to evaluate the zeta function for complex arguments.
Solution Stats
Problem Comments
-
2 Comments
Nikolaos Nikolaou
on 13 Jul 2020
why is ζ(2)= pi^2/6 and not 1.644?
ChrisR
on 28 Jul 2020
Nikolaos, ζ(2)= pi^2/6 = 1.644934066848226
Solution Comments
Show commentsProblem Recent Solvers11
Suggested Problems
-
Solve the set of simultaneous linear equations
489 Solvers
-
Sum of first n terms of a harmonic progression
491 Solvers
-
Set the array elements whose value is 13 to 0
1426 Solvers
-
Calculate the Hamming distance between two strings
341 Solvers
-
243 Solvers
More from this Author316
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!