Consider an irreversible thermodynamic cycle, as its change in entropy will always be zero at the end of the cycle but what about the entropy of surrounding does that entropy increases if yes then how can we find it? What is the change in entropy of an electrical resistor?