sir explain me in detail working of RC series circuit for square wave inputs. explain discharging of a capacitor, explain discharging path.