import matplotlib.pyplot as plt
import numpy as np

x = np.linspace(0, 2*np.pi, 50)
print('x:',x)
y = np.sin(x)
print('y:',y)

plt.plot(x, y)
plt.show()
