f(x) = 1/tanx

Input

f(x) = 1/tan(x)

Result

f(x) = cot(x)

Series expansion at x=0

1/x - x/3 - x^3/45 - (2 x^5)/945 + O(x^6)
(Laurent series)