Engineering Thermodynamics
The main cause for the irreversibility is

Heat transfer with a finite temperature difference
Unrestricted expansion
Mechanical and fluid friction
All of these

ANSWER DOWNLOAD EXAMIANS APP