The hints were leaning toward letting f(x) = (x^2) * sin(x), I think.
Not sure how to prove it's a surjection though. Any element, b, of the codomain is certainly mapped to, in fact its mapped to an infinite number of times. But the equation b = x^2 * sin(x) can't be solved explicitly for x. Or if it can, I certainly don't know how. But if you graph this function you should see that it works.
Sorry I'm not sure how to prove it.
EDIT: Ah, crap, I see now you wanted [0,1) to R. I was responding to the part of [0,Infinity) to R. The first surjection you needed was already answered with the tan function, sorry.