where a and b are constants and x is the distance