plot sum ((4 Pi Sin[(n Pi)/4]^2)/(n Pi) * Sin(nx), n=1 to 100