1st Law of Thermodynamics
It states that energy is neither created nor destroyed but can be transformed from one form to the other.
Mathematic analysis for this is ΔU = q + w
ΔU = change in internal energy
Second Law of Thermodynamics
It states that all system behave in such a way as to increase its entropy.
ΔS ≥ O
Where ΔS = entropy
ΔGo = RT ink
Where
ΔG° = Standard free energy change of the system.
K = Equilibrium constant
R = Gas constant
T = Temperature of the system in Kelvin