Skip to content
Snippets Groups Projects

Solutions lecture 7

Merged Lars kleyn Winkel requested to merge solutions-lecture-7 into master
Compare and Show latest version
1 file
+ 2
1
Compare changes
  • Side-by-side
  • Inline
@@ -36,6 +36,7 @@ k = np.linspace(-pi/2, pi/2, 300)
pyplot.plot(k, np.cos(k))
pyplot.xlabel('$k$'); pyplot.ylabel('$v(k)$')
pyplot.xticks([-pi/2, 0, pi/2], [r'$-\pi/2$', 0, r'$\pi/2$'])
pyplot.yticks([1], [r'$2\sqrt{\frac{\kappa}{m}}$'])
pyplot.yticks([0, 1], [0, r'$2\sqrt{\frac{\kappa}{m}}$'])
pyplot.hlines([1], -pi/2, 0, linestyles='dashed')
draw_classic_axes(ax)
```
Loading