How To Calculate Entropy Generation Equation