1-cosx≥0 且 sinx≠0 且 tanx≠0
∵1-cosx≥0恒成立 ∴x∈R
∵ sinx≠0 ∴x≠kπ
∵ tanx≠0 ∴x≠kπ x≠kπ+π/2
∴函数定义域是:﹛x|x≠kπ 且 x≠kπ+π/2 (k∈Z)﹜