part1 sin wave