The unit circle is not a function. If we restrict ourselves to the semicircle that lies in quadrants I and II, the graph represents a function, but it is not a one-to-one function. If we further restrict ourselves to the quarter circle lying in quadrant $\mathrm{I},$ the graph does represent a one-to-one function. Determine the equations of both the one-to-one function and its inverse. State the domain and range of both.