This text book solution looks wrong
This is a solution given in a text book but as far as I can tell:
$\displaystyle E  V_0 \tan^2(\frac{\pi x}{2a}) \neq E  (E+V_0)\frac{\sin^2(\frac{\pi x}{2a}) }{\cos^2(\frac{\pi x}{2a}) }$
Can anyone see anything I am missing?
