Hacker News new | ask | show | jobs
by setopt 714 days ago
If you define variants sint(x) = sin(2πx) and cost(x) = cos(2πx) that takes x in units of turns instead of radians, then d/dx sint(x) = 2π cost(x) etc.

I agree with you that this is completely fine though. I also find it more natural to think of “how many percent of a turn” an angle is than how many “degrees” or “radians” something is, since we use base-10 everywhere else. My workaround is to mostly write everything in terms of sin(2πτ), cos(2πτ), and exp(2πiτ) when I can, where τ measures turns.