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 Solvers12
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1985 Solvers
-
10685 Solvers
-
Project Euler: Problem 3, Largest prime factor
1784 Solvers
-
Generate a random matrix A of (1,-1)
398 Solvers
-
Mysterious digits operation (easy)
315 Solvers
More from this Author319
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!