fork download
  1.  
  2. from pylab import *
  3.  
  4. x = arange(-20, 20, .02)
  5. y = x /(4 * x * 2 + 2 * x - 1)
  6. grid()
  7. import numpy as np
  8. import matplotlib.pyplot as plt
  9.  
  10. y = lambda x: x/((4*x)**2+(2*x)-1)
  11. xs = np.linspace(0, 10, 200)
  12. plt.plot(xs, [y(x) for x in xs])
  13. plt.show()
Success #stdin #stdout 0.77s 51584KB
stdin
Standard input is empty
stdout
Standard output is empty