RC circuits and zero crossings