Integers in real life are used to denote both positive and negative numbers. For example to represent profit, gain, increase, deposit, Income we use positive integers and to represent loss, expenditure, decrease, withdrawal we use negative integers.
Ruby’s function notation V(h) describes the volume of the pool after h number of hours. Hours is the independent variable and the total volume is the dependent variable.