I'm trying to get myself around how trigonometric functions from the math module work in Python, after, lots of errors, I noticed that for example the return value of "tan()" is in radians (finally got to "help(tan)"
), but when I try to convert the radians to degrees the answer doesn't make sense to me, Im very rusted in this topic:
google: tan(7) = 0.122784560903
wolfram: tan(7) = 0.122784560903...
Kcalc: tan(7) = 0.122784560903 # Deg mode
python: degrees(tan(7)) = 49.93029147529294
I'm trying to define an extended set of trig functions, sec, cot, etc, but I don't really understand how to use the normal ones to get tan(7) = 0.122784560903
Thanks in advance!