diff --git a/src/7_tight_binding_model_solutions.md b/src/7_tight_binding_model_solutions.md index 17e636b815433fde08d9e51470b414478577ed04..ee2b5622d71c7d5795ff18d2546b07c85fd68029 100644 --- a/src/7_tight_binding_model_solutions.md +++ b/src/7_tight_binding_model_solutions.md @@ -81,11 +81,11 @@ pyplot.yticks([-np.sqrt(2), 0, np.sqrt(2)], [r'$-2\sqrt{\frac{\kappa}{m}}$', 0, pyplot.tight_layout(); pyplot.subplot(1,2,2) -w = np.linspace(-0.95, 0.95, 300); +w = np.linspace(0, 0.95, 300); g = 1/np.sqrt(1-w**2); pyplot.plot(w, g, 'b'); pyplot.xlabel(r'$\omega$'); pyplot.ylabel('$g(w)$'); -pyplot.xticks([-1, 0, 1], [r'$-2\sqrt{\frac{k}{m}}$', 0, r'$2\sqrt{\frac{k}{m}}$']); +pyplot.xticks([0, 1], [0, r'$2\sqrt{\frac{k}{m}}$']); pyplot.yticks([0.5, 1], [0, r'$\frac{L}{2\pi a}\sqrt{\frac{\kappa}{m}}$']); pyplot.tight_layout(); ```