by measuring rate of loss or gain of fluid