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

Update src/7_tight_binding_model_sol.md

parent 24653c02
Branches
No related tags found
1 merge request!58Solutions lecture 7
Pipeline #27916 failed
...@@ -35,8 +35,8 @@ Group velocity is given as $v=\hbar^{-1}\frac{\partial E}{\partial k}$ with $E=\ ...@@ -35,8 +35,8 @@ Group velocity is given as $v=\hbar^{-1}\frac{\partial E}{\partial k}$ with $E=\
```python ```python
pyplot.subplot(1,2,1) pyplot.subplot(1,2,1)
k = np.linspace(-pi/2, pi/2, 300) k = np.linspace(-pi/2+0.01, pi/2-0.01, 300)
pyplot.plot(k, np.cos(k)); pyplot.plot(k, np.sin(k)/(np.sqrt(1-np.cos(k)));
pyplot.xlabel('$k$'); pyplot.ylabel('$v(k)$'); pyplot.xlabel('$k$'); pyplot.ylabel('$v(k)$');
pyplot.xticks([-pi/2, 0, pi/2], [r'$-\pi/2$', 0, r'$\pi/2$']); pyplot.xticks([-pi/2, 0, pi/2], [r'$-\pi/2$', 0, r'$\pi/2$']);
pyplot.yticks([0, 1], [0, r'$2\sqrt{\frac{\kappa}{m}}$']); pyplot.yticks([0, 1], [0, r'$2\sqrt{\frac{\kappa}{m}}$']);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment