calculate hysteresis method 2 final result