Isothermal expansion and gas laws