Example of outer work. Outer work is the overcoming of the outside pressure through a certain distance…