y=(cosx/|cosx|)+(2sinx/|sinx|)
当x∈(2kπ,2kπ+π/2)时,(k∈Z)
y=3
当x∈(2kπ+π/2,2kπ+π)时,
y=-1+2=1
当x∈(2kπ+π,2kπ+3π/2)时,
y=-3
当x∈(2kπ+3π/2,2kπ+2π)时,
y=-1
故y的值域为[-3,-1,1,3]
y=(cosx/|cosx|)+(2sinx/|sinx|)
当x∈(2kπ,2kπ+π/2)时,(k∈Z)
y=3
当x∈(2kπ+π/2,2kπ+π)时,
y=-1+2=1
当x∈(2kπ+π,2kπ+3π/2)时,
y=-3
当x∈(2kπ+3π/2,2kπ+2π)时,
y=-1
故y的值域为[-3,-1,1,3]