Total Energy Equation For Environment