 The wave vectors in the respective regions being

both of which have the same form as the De Broglie relation (in one dimension)

The coefficients "A", "B" have to be found from the boundary conditions of the wave function at "x" = 0.The wave function and its derivative have to be continuous everywhere, so