Ancient Indians in the Gupta Empire invented the sine and other trigonometric functions. They called this the jaya, which meant "chord". Once the Gupta declined and the Muslims emerged as the leading intellectuals of the world, they borrowed the sine, and with it, the Sanskrit word for "sine". However, they only kept the phoneme, which was phonetically transcribed to jiba. This meant that the word had no real meaning, but was assigned to the sine function nonetheless. Later still, when Europeans wanted to borrow the word, they messed things up and confused jiba with jaib, the Arabic word for "bosom". So, while intending to borrow a term for a mathematical function, they mistranslated it, and ended up using sinus, which was the Latin word for "bosom". This easily became "sine" when it was borrowed into English in the 1590s. Sinus, which has nothing to do with the nose, is of unknown Proto-Indo-European origin. The co- in cosine was correctly translated from kotiya as meaning "complementary", so a cosine is a "complementary sine" or "complementary bosom".
Hello! I'm Adam Aleksic. This year, I graduated from Harvard University with a degree in Government and Linguistics. There, I co-founded the Harvard Undergraduate Linguistics Society and wrote a thesis on Serbo-Croatian language policy, magna cum laude. In addition to etymology, I also really enjoy philosophy, trivia, vexillology, geography, board games, conlanging, art history, and law.