Correct Answer - d
We have , `1+sin(pi/4+theta)+2cos(pi/4-theta)`
`=1+1/sqrt(2)(costheta+sintheta) + sqrt(2)(costheta+sintheta) = 1+1/sqrt(2(+sqrt(2))(costheta+sintheta)`
`=1+(1/sqrt(2)+sqrt(2)).sqrtcos(theta-pi/4)`
`therefore` maximum value`=1+(1/sqrt(2)+sqrt(2)).sqrt(2)=4`