A one dimensional linear velocity law is described by the equation
where
The parameters of the velocity law are computed from two depth samples
as
and
Equations for ray path and travel time are expressed in terms of these two parameters.