Question Cocalder a continuous-time signal x(f) given byotherwise. Discretice this signal with asampling period T, = 0 01 second t… Show more… Show morehi, the code is attached below thanks. Part 3: We will need to measure thetime it takes to run a piece of code.This can be achieved usin… Show more… Show more#import the numpy module…import numpy as np#set N = 8…N = 8#set Ts = 0.01…Ts = 0.01#make an list of values are in sequence between 0 to N-1…n = [i for i in range(0,N)]#As per the formula, make list of values and say it x…x = [((Ts*i)**2 + 1) for i in n]#make an zero list with number of elements are N…X = [0 for i in range(N)]#use first for loop…for k in n: #use second for loop… for n_ in n: #update the X as per the given formula… X[k] = X[k] + x[n_ ] * np.exp(-2j*np.pi*k*n_/N)#print the value of X…print(X)Computer ScienceEngineering & TechnologySoftware engineering ENG 2305

Order your essay today and save 20% with the discount code ESSAYHELP