Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %matplotlib inline
- import numpy as np
- import matplotlib.pyplot as plt
- num_points = 100
- x = np.linspace(-4*np.pi, 4*np.pi, num=num_points)
- f = np.exp(x/10)*np.sin(x)*np.cos(x)
- plt.plot(x, f)
- plt.xlabel('$x$')
- plt.ylabel('$\f(x)$')
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement