(Hint: Use linearity and the definition of frequency response!)
Try running the MATLAB program sqrfilt.m (available on the Web page for this assignment) to see a plot of the output y(t). Can you relate the fact that y(t) is nearly a triangle wave to the results that you obtained in item 1 of this assignment? (Do your best on this -- the connection may not be obvious!)
Thank you.