Advertisement
mirosh111000

5 завдання

Oct 2nd, 2023
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.20 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. import numpy as np
  3.  
  4.  
  5. X = np.linspace(-10, 10, 100)
  6. U = np.cos(X)
  7. F = np.sin(X)
  8.  
  9. plt.plot(X, U, label='U(x)')
  10. plt.plot(X, F, label='F(x)')
  11. plt.legend()
  12. plt.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement