Physics, Python Programming, Runge Kutta.
psi2/(i*k(y)))/(2.0*np.exp(i*k(y)*y)) return k(x)/k(y) * 1.0/(np.abs(aa))**2 print('reflection = ',reflection(x,xf)) print('transmission = ', transmission(x,xf)) print('r + t = ', reflection(x,xf) + transmission(x,xf)) #Outputs for the print command #reflection = 0.007625630800891285 #transmission