Rise time and fall time formula