Triangle The acronym "SOH-CAH-TOA" is a useful mnemonic for these ratios. The inverse trigonometric functions can be used to calculate the internal angles for a right angled triangle with the length of any two sides. Arcsin can be used to calculate an angle from the length of the opposite side and the length of the hypotenuse. Arccos can be used to calculate an angle from the length of the adjacent side and the length of the hypotenuse. Arctan can be used to calculate an angle from the length of the opposite side and the length of the adjacent side. In introductory
Floyd's triangle Floyd's triangle Floyd's triangle is a right-angled triangular array of natural numbers, used in computer science education. It is named after Robert Floyd. It is defined by filling the rows of the triangle with consecutive numbers, starting with a 1 in the top left corner: Beginning programmers are often assigned the task of writing a program to print out the table in the format shown. The numbers along the left edge of the triangle are the lazy caterer's sequence and the numbers along the right edge are the triangular numbers. The "n"th row sums to "n"("n" + 1)/2, the constant