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 belive that this may be what you’re looking for: https://en.wikipedia.org/wiki/Trigonometric_functions#Right-angled_triangle_definitions