Would appreciate if someone can help me with this one.
The angle between the asymptotes of a hyperbola is $\dfrac{\pi}{3}$. Determine the eccentricity of the hyperbola.
Since I'm trying to self teach myself here, the only thing I could find was that the tangent of the angle between the asymptotes is $\dfrac{2ab}{a^2-b^2}$. I also know the formula for the eccentricity but I can't figure out how to find it out of that angle alone.
Look at this picture I got from Wikipedia
If the angle between the asymptotes is $\pi/3$ then the angle of the triangle at $M$ (call it $\theta$) is half that, $\pi/6$. Then $$\dfrac{b}{a} = \tan{\theta} = \tan(\pi/6) = 1/\sqrt{3}.$$ The formula for eccentricity is $\sqrt{(a^2 + b^2)/a^2}$ (there was a typo in your comment). We can re-write this as $$\sqrt{\dfrac{a^2 + b^2}{a^2}} = \sqrt{\dfrac{a^2}{a^2} + \dfrac{b^2}{a^2}} = \sqrt{1 + \left(\dfrac{b}{a}\right)^2},$$ and just plug in the value of $b/a$.
(Note: The formula for the tangent of the asymptotes' angle that you found is just a thinly disguised version of the tangent double angle formula. The picture lets us see that we just need half of that angle to compute $b/a$ with our eyes instead of going through a lot of algebra.)