import numpy as nu import matplotlib.pyplot as plt def xycomlete(x): y = nu.sin(5 * x) * nu.cos(x) return y ArrayX = nu.arange(0, 3, 0.01) ArrayY = xycomlete(ArrayX) plt.plot(ArrayX, ArrayY) plt.show()