Trigonometry in a right-angled triangle

Move B to change the dimensions of the triangle and observe the values of the cosine, sine and tangent.