How do you find the domain and range of #(1/2)cos2x#?