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
-
Remove any row in which a NaN appears
8568 Solvers
-
2255 Solvers
-
Determine if a Given Number is a Triangle Number
374 Solvers
-
Calculate the area of a triangle between three points
2862 Solvers
-
389 Solvers
More from this Author271
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!