If $x$ is such that $$\lfloor2\sin x\rfloor+\lfloor{\cos x}\rfloor=-3$$ for some $x \in [0,25]$ then the question is to find out the range of the function $$g(x)=\sin x+\cos x$$Here the function $g(x)$ assumes those values of $x$ which satisfies the above equation in the given interval
$\lfloor.\rfloor$ represents greatest integer function.
I tried rewriting the equation as $$2 \sin x+\cos x -2\lbrace(\sin x)\rbrace-\lbrace(\cos x)\rbrace=-3$$ which can be rewritten as $$g(x)=-3+2\lbrace(\sin x)\rbrace+\lbrace(\cos x)\rbrace-\sin x$$ I again rewrote it as $$g(x)=-3-\lfloor\sin x\rfloor+\lbrace(\sin x)\rbrace+\lbrace(\cos x)\rbrace$$ $\lfloor\sin x\rfloor=\lbrace 0,-1 \rbrace$.I tried to further find out the range of this but failed.Any ideas?Thanks.
Here $\lbrace.\rbrace$ represents fractional part.