Locating a Point on the sine wave