Characteristic Equation of JK flip flop