結果 : general formula for sinusoidal function