Program for graphing Riemann zeta function

Click For Summary

Discussion Overview

The discussion revolves around a program developed to graph regions of the Riemann zeta function, including its implications for the Riemann hypothesis. Participants share experiences related to the program's development, issues encountered, and results obtained from calculations involving both real and complex inputs.

Discussion Character

  • Technical explanation
  • Exploratory
  • Debate/contested

Main Points Raised

  • One participant shares a program for graphing the Riemann zeta function and invites feedback on its accuracy and functionality.
  • Another participant notes that the program was recompiled to fix a configuration error.
  • A participant mentions that earlier versions of the program incorrectly calculated values for complex inputs, despite correct outputs for real inputs.
  • There is a request for others to share results from the program to compare accuracy with other software.
  • A participant describes a specific error in the code where a variable was overwritten, leading to incorrect imaginary part calculations, which was later corrected by introducing additional variables.
  • Several specific calculations from the program are provided, showcasing outputs for various inputs to the zeta function.

Areas of Agreement / Disagreement

Participants express varying levels of confidence in the program's accuracy, particularly regarding complex input values. There is no consensus on the overall reliability of the program, as some participants have raised concerns about earlier errors while others seem to accept the latest results.

Contextual Notes

Participants mention challenges in finding reliable sources for expected outputs of complex inputs, indicating a potential gap in available reference material for validating the program's results.

Who May Find This Useful

Individuals interested in computational mathematics, programming related to complex functions, or those studying the Riemann zeta function and its implications may find this discussion relevant.

donotremember
Messages
31
Reaction score
0
Hello I plan on applying to the university of waterloo next year and due to the fact that many of my marks are not that great (failed gr 10 math) I decided to start a site to showcase my ability in math and programing.

For those of you who are interested I wrote a program to graph regions of the Riemann zeta function which you can find here:

donotrememberthisaddress.com/mathematics/zetafunctionviewer.php

I also give a short description of what the Riemann hypothesis means which you find here:

donotrememberthisaddress.com/mathematics/whatisriemannhypothesis.php

as well as how to calculate a value of the zeta function:

donotrememberthisaddress.com/mathematics/calculatevalue.php

I welcome you to point any mistakes that I may have made and also encourage you to check out the main page if you like as I list several resources for finding free video lectures and information.
 
Physics news on Phys.org
Note: I recompiled the zeta function viewer program with static linking so that it no longer generates an error complaining about the program configuration being incorrect.
 
Just to let anyone know who downloaded the program before I screwed up in the calculation of zeta function so any input values for zeta with an imaginary part will were wrong.

I thougth it was working because all the values with only real parts checked out to be ok and I was able to calculate some of the zeros correctly.

I have not been able to find a source that says gives some examples of what correct output for complex input values should be so I have had to rely on a graph of the real and imaginary part on just the real critical line and see if they look like they are prety close.



The program has been fixed and should be calculating correct (or at least more correct) values now.
 
donotremember said:
Just to let anyone know who downloaded the program before I screwed up in the calculation of zeta function so any input values for zeta with an imaginary part will were wrong.

I thougth it was working because all the values with only real parts checked out to be ok and I was able to calculate some of the zeros correctly.

I have not been able to find a source that says gives some examples of what correct output for complex input values should be so I have had to rely on a graph of the real and imaginary part on just the real critical line and see if they look like they are prety close.



The program has been fixed and should be calculating correct (or at least more correct) values now.
For those who decline to look at your program. Why not post some of the results of the program so others can check the accuracy as compared with the expensive and out of reach programs for me? Also what corrections did you make to get the current results?

PS I got a few F's occasionally in math but also many A's. I could do the work but sometimes didn't make the effort. Don't take the easy way and settle on a program of study or career that doesn't suit your interests like I did. Even if you are not accepted now stay with your dreams and make them come true. I found myself in a career that paid well but failed to work towards my real interests and wasn't ready to take the opportunity to change careers, i.e. get into computer programming, when the chance came. A retired patent examiner.
 
ramsey2879 said:
For those who decline to look at your program. Why not post some of the results of the program so others can check the accuracy as compared with the expensive and out of reach programs for me? Also what corrections did you make to get the current results?

I was messing around trying to figure out what the period of a pattern I noticed was in the zeta function and found that my calculations on paper did not agree with what the program told me. I then reviewed my code and found that when calculating the real part I overwrote a variable that I needed to calculate the Imaginary part making the imaginary values wrong. This was fixed by introducing a couple more variables.

Here are some calculations made by my program using the first 10000 iterations:

zeta(3 + i0) = 1.202057 + i0

zeta(3 + i0.1) = 1.200861 - i0.019750

zeta(0.5 + i33) = -0.044787 + i0.081399

zeta(1 + i33) = 0.418661 + i0.0244871

zeta(1 + i123456789) = 0.274378 - i0.582564
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 5 ·
Replies
5
Views
4K
Replies
8
Views
12K
Replies
4
Views
6K
Replies
3
Views
3K
  • · Replies 17 ·
Replies
17
Views
2K