Solution (source code)

= Solution

Take incidence from the left and set the reactant and product potentials to zero. The asymptotic scattering boundary conditions are $\psi=Ae^{ikx}+Be^{-ikx}$ for $x<0$ and $\psi=Fe^{ikx}$ for $x>a$, with $k=\sqrt{2mE}/\hbar$. There is \b[no incoming wave from the product side]. At each finite potential step, $\psi$ and $d\psi/dx$ are continuous for the same mass on both sides.