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

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