The function takes a numerical input and returns its absolute value multiplied by a constant value, k.

