What is the work done in an isobaric expansion?

W= -Pext(Vf-Vi)

(-) Work denotes expansion

(+) work denotes compression

Pext is external pressure