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
-
947 Solvers
-
Project Euler: Problem 4, Palindromic numbers
966 Solvers
-
Check if number exists in vector
10458 Solvers
-
Replace Nonzero Numbers with 1
360 Solvers
-
Form a square matrix from four square sub-matrices
93 Solvers
More from this Author244
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!