f:N ---> N where f(n) = (squared root of n)

How can I solve this question? I tried putting many different numbers on the function and seeing if it will return just one value but I am not sure if this is the way I am supposed to solve this, can someone explain it to me?

Thanks