JavaScript © 2000 by John A. Byers

sin(angle A) = (side a)/(side c) or opposite side/hypotenus

cos(angle A) = (side b)/(side c) or adjacent side/hypotenus

tan(angle A) = (side a)/(side b) or opposite side/adjacent side

sin(angle B) = (side b)/(side c) or opposite side/hypotenus

cos(angle B) = (side a)/(side c) or adjacent side/hypotenus

tan(angle B) = (side b)/(side a) or opposite side/adjacent side

sin is sine, cos is cosine, tan is tangent,

Law of angular sum of triangle:

(angle A) + (angle B) + (angle C) = 180

To convert degrees to radians (which are used in the formulas):

degrees = radians(180/3.141593)

radians = degrees(3.141593/180)