I have a number line set up from 0 to 1 divided into 50 chunks. I want to take the sine of this line so that the middle is zero and the ends (0 and 1) are both 1. In other words, I want my life to go from 3pi/2 to pi/2 instead of 0 to 1. How can I do this?

thanks