hysteresis formula method 1