Irreversible work done ona n ideal gas in a cylinder when it is compresed bya constant external pressure(Pex) and the volume of the gas changes from Vi to Vf
Change ion volume, ∆V = Vf -Vi
Irreversible work done = W
So, W = -Pex∆V