1 2 3 4 5 6 7
#include <math.h> #include "cotd.h" float scotds(float in) { return (1/tanf((M_PI/180.0)*in)); }