Created
September 17, 2012 17:04
-
-
Save akira093/3738512 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import scipy | |
import pylab | |
def f(x): | |
return x**3 | |
x = pylab.arange(0,10,.01) | |
y = scipy.derivative(f,x,n=2) | |
pylab.plot(x,y) | |
pylab.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment