import matplotlib.pyplot as plt
import numpy as np x = np.linspace(0, 2*np.pi, 100)
sinX = np.sin(x)
cosX = np.cos(x) plt.plot(x, sinX)
plt.plot(x, cosX) plt.show()
2024-02-08 09:23:34
import matplotlib.pyplot as plt
import numpy as np x = np.linspace(0, 2*np.pi, 100)
sinX = np.sin(x)
cosX = np.cos(x) plt.plot(x, sinX)
plt.plot(x, cosX) plt.show()