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

Update src/8_many_atoms_sol.md

parent 589facab
No related branches found
No related tags found
1 merge request!58Solutions lecture 7
Pipeline #28401 passed
......@@ -69,7 +69,7 @@ pyplot.xlabel('$ka$'); pyplot.ylabel(r'$E-\epsilon$')
pyplot.xlim([-2*pi,2*pi])
pyplot.ylim([-1.1*(t1+t2),1.1*(t1+t2)])
pyplot.xticks([-2*pi, -pi, 0, pi,2*pi], [r'$-2\pi$',r'$-\pi$', 0, r'$\pi$',r'$2\pi$'])
pyplot.yticks([-t1-t2, -np.abs(t1-t2), 0, np.abs(t1-t2), t1+t2], [r'$t_1+t_2$',r'$|t_1-t_2|$', '0', r'$-|t_1-t_2|$', r'$-t_1-t_2$']);
pyplot.yticks([-t1-t2, -np.abs(t1-t2), 0, np.abs(t1-t2), t1+t2], [r'$t_1+t_2$',r'$-|t_1-t_2|$', '0', r'$|t_1-t_2|$', r'$-t_1-t_2$']);
pyplot.vlines([-pi, pi], -2*(t1+t2)*1.1,2*(t1+t2)*1.1, linestyles='dashed');
pyplot.hlines([-np.abs(t1-t2), np.abs(t1-t2)], -2*pi, 2*pi, linestyles='dashed');
pyplot.fill_between([-3*pi,3*pi], -np.abs(t1-t2), np.abs(t1-t2), color='red',alpha=0.2);
......@@ -128,5 +128,15 @@ pyplot.tight_layout();
## Exercise 3: atomic chain with 3 different spring constants
### Subquestion 1
### Subquestion 2
### Subquestion 3
### Subquestion 4
### Subquestion 5
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