結果 : derivative of square wave function