other program you have to do this part) the frequency spectrum of the periodic extension of f(x) above.
Fig: 1
Fig: 2
Fig: 3