Find the maximum value of sin(x) + cos(x) for a real number x.
if x=1 then it equals 1.0173001 if x=2 then it equals 1.03429032 an dif x=1000 then it equals −0.81115957 and if x=pi/4 then it equals sqrt2 which is the largest