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