Square wave function of period 1 and approximate derivative using the Central Difference method. Sampling Interval 0.01

Square wave function of period 1 and approximate derivative using the Central Difference method. Sampling Interval 0.01