Given : Right $\triangle ABC$ $CH$ is altitude and $AH =2$, $BH=8$. Here is drawing
Find the $tan \angle CBA$
Here is how I solved the exercise: From that fact that $ABC$ is right triangle $=>$ $AC^2=AH*AB$ (Altitude on hypotenuse theorem) $=> AC = \sqrt{2*10} = \sqrt{20}$ and $tan \angle CBA = \frac{AC}{AB}=\frac{2*\sqrt{5}}{10}=\frac{\sqrt{5}}{5}$
However the answer in test is $\frac{1}{2}$. I can't find my mistake.