Determining the constant of variation