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

Update src/8_many_atoms_sol.md

parent d67cbbfb
No related branches found
No related tags found
1 merge request!58Solutions lecture 7
Pipeline #28290 failed
......@@ -62,7 +62,7 @@ t2 = 1.1;
pyplot.plot(k, np.sqrt(t1**2 + t2**2+2*t1*t2*np.cos(k)),'b',label='2 atom dispersion')
pyplot.plot(k, -np.sqrt(t1**2 + t2**2+2*t1*t2*np.cos(k)),'b')
pyplot.plot(k, -(t1+t2)*np.cos(k/2),'r',label='1 atom dispersion')
pyplot.plot(k[199:100:-1],-(t1+t2)*np.cos(k[0:99]/2),'r--','1 atom dispersion with folded Brillouin zone')
pyplot.plot(k[299:100:-1],-(t1+t2)*np.cos(np.append(k[0:99],k[300:399])/2),'r--',label='1 atom dispersion with folded Brillouin zone')
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.
Finish editing this message first!
Please register or to comment