You can name this `IsothermalWork` and remove the helper function above.