Sinus wave

Create a plot that matches the expected one by using the provided data. This time, you will also need to add a title and label the axes.
Expected:
matplotlib expected figure
Output:
import matplotlib.pyplot as plt import numpy as np # Generate data x = np.linspace(-5, 5, 40, dtype=np.float16) y = np.sin(x) # create plot here...
plt.show()
Python
Setting up Python environment...
Output