sin wave and cos wave.