In [50]:
%matplotlib inline
import numpy as np
import matplotlib.pyplot as plt
In [51]:
m_e = 9.10938356e-31
eV = 1.60217662e-19
h = 1.0545718001e-34
In [55]:
#### 6 #####
L = 10e-10
E = np.linspace(0+1e-15, 4, 1e6) * eV
U = 4 * eV
a = np.sqrt(2 * m_e * (U - E)) / h
b = np.sqrt(2 * m_e * E) / h
bla = ((2 * a * b) / (a ** 2 + b ** 2) * np.sinh(a * L)) ** 2
R = 1 / (bla + 1)
T = 1 - R
plt.plot(E / eV , R, ',-')
plt.show()
In [54]:
R[:10]
Out[54]:
In [ ]: