Analyzing the Domain and Range of the Function $f(x) = \frac{1}{1 - \sin x}$

What is the domain and range of the function $f$ defined by  $f(x)=\frac{1}{1-\sin x}$?
In my book the solution is the following:
But I have some questions:
1. The domain if $f$ is $\mathbb{R}$-$D$. The elements of $\mathbb{R}$ are real numbersbut the elements of the set $D$ are angles in radians. How is possible the domain is difference of two different sets? (If we want to find the largest domain, we can consider;for example, the set $A$ (whose elements are all the angles in radians) instead of $\mathbb{R}$, this makes more sense!).


2. For its range, I know it is using the following fact: $-1\leq \sin x\leq1$ $\forall x\in \mathbb{R}$. The above I know is true when $x$ is radians or degree. But how is possible that is right for real number? Actually, my question is the following: How to define senx and cosx for x real number in such a way that they continue to fulfill the known properties when x is radian o degree?



The answer is accepted.
Join Matchmaticians Affiliate Marketing Program to earn up to a 50% commission on every question that your affiliated users ask or answer.