Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pylab as py
- from scipy import misc, arange
- import matplotlib.pylab as pl
- import sys
- x = arange(-50, 50, 0.5)
- y= input("")
- def f(x):
- print('df = lambda x :')
- return x
- fd = misc.derivative(f, x)
- pl.plot(x,f(x))
- pl.plot(x,fd)
- # pl.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement