Advertisement
Guest User

Untitled

a guest
Feb 16th, 2020
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  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()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement