SHARE
TWEET

Untitled

a guest Feb 16th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import pylab as py
  2. from scipy import misc, arange
  3. import matplotlib.pylab as pl
  4. import sys
  5. x = arange(-50, 50, 0.5)
  6. y= input("")
  7. def f(x):
  8.     print('df = lambda x :')
  9.     return x
  10. fd = misc.derivative(f, x)
  11. pl.plot(x,f(x))
  12. pl.plot(x,fd)
  13.  
  14. #   pl.show()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top