CosB
CosB denotes the cosine of angle B, typically in triangle geometry. In triangle ABC, B is the vertex at which the angle is measured, with sides adjacent to B labeled AB and BC and the side opposite B labeled b. Using the standard notation where side a is opposite A, b opposite B, and c opposite C, the Law of Cosines gives b^2 = a^2 + c^2 − 2ac cos B. Therefore cos B = (a^2 + c^2 − b^2) / (2ac). The value of cos B depends only on the angle B and not on the overall size of the triangle, and for a nondegenerate triangle its value lies strictly between −1 and 1.
In a right triangle, if B is one of the non-right angles, cos B equals the ratio
CosB is a basic building block in solving triangles, trigonometric identities, and coordinate geometry. It also