(1)求f(x)的定义域;
(2)设α为第四象限角,且tanα=,求f(α)的值.
解:(1)由cosx≠0得x≠kπ+(k∈Z
故f(x)的定义域为{x|x≠kπ+,k∈Z
(2)因为tanα=,α为第四象限角,
所以sinα=,cosα=.
故f(α)=
=2(cosα-sinα)=.