A simplified mathematical approach to hysteresis losses