From b3a127243723ebf63ff2c2ef521123f67d32d569 Mon Sep 17 00:00:00 2001 From: Lars kleyn Winkel <l.kleynwinkel@student.tudelft.nl> Date: Mon, 10 Feb 2020 16:28:17 +0000 Subject: [PATCH] Update src/7_tight_binding_model_sol.md --- src/7_tight_binding_model_sol.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/7_tight_binding_model_sol.md b/src/7_tight_binding_model_sol.md index bc68e05a..9326044f 100644 --- a/src/7_tight_binding_model_sol.md +++ b/src/7_tight_binding_model_sol.md @@ -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" - ```python - k = np.linspace(0,pi/2,1000) - w = 4*np.sin(k) + np.sin(3*k) - pyplot.hist(w,50, orientation='horizontal',ec='black') - pyplot.ylabel(r'$\omega$') - pyplot.xlabel(r'$g(\omega)$') - ``` +```python +k = np.linspace(0,pi/2,1000) +w = 4*np.sin(k) + np.sin(3*k) +pyplot.hist(w,50, orientation='horizontal',ec='black') +pyplot.ylabel(r'$\omega$') +pyplot.xlabel(r'$g(\omega)$') +``` -- GitLab