from math import * from matplotlib.pyplot import plot,show from numpy import * T = 2*pi N = 100 def e1(t): return sin(2*pi*t/(2*T)) t = [i/N for i in range(int(floor(2*T)))] plot(t,e1(t)) show()