sorry for my layman terminology, but to my understanding as a coder a function has a name, parameters, arguments and operations. if sin is the name, and its parameters are side opposite and hypotenuse, and its arguments are context dependent, what is the operation itself? am i making sense?
def sin (hypotenuse, opposite):
??!?!?!!?
I’m probably way too elementary for this post, but just in case someone doesn’t know about SohCahToa (pro. soh-cah-toh-ah).
Soh
Cah
Toa
I made it through my college trigonometry class by just remembering that one simple pneumonic. Everything else that was taught could be derived from it.