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

Update src/7_tight_binding_model_sol.md

parent 39b82892
Branches
No related tags found
1 merge request!58Solutions lecture 7
Pipeline #27931 passed
...@@ -59,11 +59,11 @@ Hint: The group velocity is given as $v = \frac{d\omega}{dk}$, draw a coordinate ...@@ -59,11 +59,11 @@ Hint: The group velocity is given as $v = \frac{d\omega}{dk}$, draw a coordinate
??? hint "Plot for density of states" ??? hint "Plot for density of states"
```python ```python
k = np.linspace(0,pi/2,1000) k = np.linspace(0,pi/2,1000)
w = 4*np.sin(k) + np.sin(3*k) w = 4*np.sin(k) + np.sin(3*k)
pyplot.hist(w,50, orientation='horizontal',ec='black') pyplot.hist(w,50, orientation='horizontal',ec='black')
pyplot.ylabel(r'$\omega$') pyplot.ylabel(r'$\omega$')
pyplot.xlabel(r'$g(\omega)$') pyplot.xlabel(r'$g(\omega)$')
``` ```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment