What even is "cos"?

What are "cos" and "sin"? They're buttons on a calculator -- right? You enter an angle, push the button, and some number appears. Somehow -- if you remember your trig rules (SOH, CAH, TOA) -- you can use this number get the side lengths of triangles. I think the above pretty much sums up the typical student's understanding, and it's adequate to complete most of the tasks a physics student has to with trig functions. But it doesn't have to be so mysterious, and it can be very helpful if it isn't. So in this post I'll explain what these functions are and how they are related. Consider trying to specify a point on the unit circle: We could use the Cartesian coordinates x and y, or we could use the angle θ. Both have their merits, and in practice we might want to go back and forth between them. So, given an angle θ, what are x and y? We call the functions that answer that question sine and cosine (usually written as sin and cos for sho...