Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- import numpy as np
- X = np.linspace(-10, 10, 100)
- U = np.cos(X)
- F = np.sin(X)
- plt.plot(X, U, label='U(x)')
- plt.plot(X, F, label='F(x)')
- plt.legend()
- plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement