#import libraries (numpy, pyplot) import numpy as np import matplotlib.pyplot as plt #generating time data using arage function from numpy time = np.arange(-10*np.pi, 1