User:Sintel/Zeta plot python: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

8 April 2025

  • curprev 21:1021:10, 8 April 2025 Sintel talk contribs 2,051 bytes −69 small typo
  • curprev 20:4120:41, 8 April 2025 Sintel talk contribs 2,120 bytes +2,120 Created page with "Code for plotting some zetas <syntaxhighlight lang="python"> import math import numpy as np import matplotlib.pyplot as plt from mpmath import zeta, mp from scipy.signal import find_peaks # Set precision for mpmath mp.dps = 15 # Define the range for t t_min, t_max = 4.8, 42 # Real part of the variable # Use 0.5 for critical line sigma = 0.5 # Create array of t values num_points = 2000 t_values = np.linspace(t_min, t_max, num_points) # Calculate zeta function magni..."