Finding the constant of proportionality from given data