Quasistatic process