tutorial final version

parent ab95f8bf
import scipy.integrate as integrate
def f(x):
return np.exp(-x)
integrate.quad(f, 0, np.inf)
x = np.linspace( 0.1, 6.*np.pi, num=200)
y = np.sin(x) / x
plt.plot(x,y, 'r:', label='sin(x)/x')
plt.grid()
plt.legend()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment