$[x]^2-7[x]+12=0$
find $x$? where $[x]$ is Greatest Integer function
I have tried to solve the question like this: putting $[x]=y$ , we have the equation: $y^2-7x+12=0$ by solving this equation we get $y=3$ and $y=4$
since $y=[x]$, therefore $[x]=3$ and $[x]=4$
according to the above statement we can say that $x=[3,5)$
I want to know weather my solution is correct or not. and if it not correct then how to solve this equation.