q = f(K, L)