Fourier Series-Square Wave Get link Facebook X Pinterest Email Other Apps July 12, 2019 #Fourier Series - Square Wave Arfkenfrom pylab import *h=2x=linspace(-3*pi,3*pi,1000)term=h/2.0n=input('Enter the number of terms in series to be taken: ')for i in range(n): term=term+2*h/pi*sin((2*i+1)*x)/(2*i+1)plot(x,term)show() Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment