Hacker News new | ask | show | jobs
by tzs 1361 days ago
> Derivative of sin(x) is cos(x). Many people probably think this works for degrees, but it's actually some abomination like pi cos(pi x/180)/180.

That's what it would be if you are using sin in degrees and cos in radians. But if you are using degrees for both then the derivative of sin(x) is pi/180 cos(x).

1 comments

Yup, I knew I'd mess it up. :D