y = sinx + cosx
= √2(√2/2*sinx + √2/2*cosx)
= √2[sinx*cos(π/4) + cosx*sin(π/4)]
= √2*sin(x + π/4)
不知道你的R是什么,不过有上面的推导可知