Created
June 27, 2017 07:23
-
-
Save bechampion/139ffeba765da41cd3fef24a9b7892df to your computer and use it in GitHub Desktop.
cuve2
This file contains hidden or 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 numpy as np | |
import pylab as pl | |
def f(x): | |
return x**3 -3*x + 4 | |
Y, X = np.mgrid[-10:10:100j, -10:10:100j] | |
pl.contour(X, Y, Y**2 - f(X), levels=[0]) | |
pl.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment