scipy.special.tandg
scipy.special.log1p
y=cotdg(x) calculates the cotangent of the angle x given in degrees.