Find $\displaystyle f(g(x))$ if $\displaystyle f(x) = [x] + \{x\}^2$ and $\displaystyle g(x) = [x] + \sqrt{\{x\}}$ and also find the domain and range of f(x).

Answer:Spoiler:

I am not getting a matching answer. Anyone?

NOTE: [x] is floor function/greatest integer function

{x} is fractional part function