calculate hysteresis method 1 final result