TITLE: continuous onto map from $(0,1)\to (0,1]$
QUESTION [7 upvotes]: I need to know whether There exists any continuous onto map from $(0,1)\to (0,1]$
could any one give me any hint?

REPLY [4 votes]: $f(x)=|\sin (\pi x)|$ will work
{"set_name": "stack_exchange", "score": 7, "question_id": 454040}