notebook.community
Edit and run
We'll be using:
In [ ]: %matplotlib inline import matplotlib.pyplot as plt import numpy as np import math x = np.arange(-math.pi, math.pi, 0.01) sin = np.vectorize(math.sin) y = sin(x) plt.plot(x, y)
%matplotlib inline import matplotlib.pyplot as plt import numpy as np import math x = np.arange(-math.pi, math.pi, 0.01) sin = np.vectorize(math.sin) y = sin(x) plt.plot(x, y)