File:Riemannplot.png

From specialfunctionswiki
Revision as of 01:19, 6 July 2016 by Tom (talk | contribs) (Tom uploaded a new version of "File:Riemannplot.png")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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/TimeThumbnailDimensionsUserComment
current01:19, 6 July 2016Thumbnail for version as of 01:19, 6 July 2016875 × 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 2016Thumbnail for version as of 16:47, 27 January 20161,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.

The following page links to this file:

Metadata