The value of ∆S for the spontaneous process is
Entropy change
Entropy of system
The total entropy of the system can be given by the following equation
Where,
ΔStotal= total entropy change for the process
ΔSsys = entropy change of the system
ΔSsurr = entropy change of the surrounding