File:Riemannplot.png
From specialfunctionswiki
Size of this preview: 593 × 600 pixels. Other resolutions: 237 × 240 pixels | 875 × 885 pixels.
Original file (875 × 885 pixels, file size: 47 KB, MIME type: image/png)
#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * def riemann(x): return nsum(lambda k: sin(x*(k**2))/(k**2),[1,inf]) x=np.arange(0,1,0.001); f=np.vectorize(riemann) y=f(x) plt.xlabel('x') plt.ylabel('Riemann(x)') plt.plot(x,y,linewidth=0.5) plt.show()
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 01:19, 6 July 2016 | 875 × 885 (47 KB) | Tom (talk | contribs) | Category:Plot <pre>#!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * from pylab import rcParams rcParams['figure.figsize'] = 10, 10 def riemann(x): return nsum(lambda k: sin((k**2)*x)/(k**2),[1,inf])... | |
16:47, 27 January 2016 | 1,600 × 1,121 (55 KB) | Tom (talk | contribs) | #!/usr/bin/python import numpy as np import matplotlib.pyplot as plt from mpmath import * def riemann(x): return nsum(lambda k: sin(x*(k**2))/(k**2),[1,inf]) x=np.arange(0,1,0.001); f=np.vectorize(riemann) y=f(x) plt.xlabel('x') plt.ylabel('R... |
- You cannot overwrite this file.
File usage
The following page links to this file: