Question: is sin x an onto function?
Answer: The sine is not onto because there is no real number x such that sinx=2. A function is one to one may have different meanings. (1) one to one from x to f(x).