Skip to content
Snippets Groups Projects
Commit 0364c245 authored by Lars kleyn Winkel's avatar Lars kleyn Winkel
Browse files

Update src/8_many_atoms_sol.md

parent 37949326
Branches
Tags
1 merge request!58Solutions lecture 7
Pipeline #28287 passed
......@@ -60,7 +60,7 @@ k = np.linspace(-2*pi, 2*pi, 400)
pyplot.plot(k, np.sqrt(5+2*2*np.cos(k)),'b',label='2 atom dispersion')
pyplot.plot(k, -np.sqrt(5+2*2*np.cos(k)),'b')
pyplot.plot(k, -3*np.cos(k/2),'r',label='1 atom dispersion')
pyplot.plot(k[199:-1:100],-3*np.cos(k[0:99]/2),'r--')
pyplot.plot(k[199:100:-1],-3*np.cos(k[0:99]/2),'r--')
pyplot.xlabel('$ka$'); pyplot.ylabel(r'$E-\epsilon$')
pyplot.xticks([-2*pi, -pi, 0, pi,2*pi], [r'$-2ka$',r'$-ka$', 0, r'$ka$',r'$2ka$'])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment