Calculation of switching time when changing sequenceExample of the determination of the switching time from one sequence to the next.