If you want to undo the original function, let $f(x)=v=\displaystyle\frac{\sqrt x}{x}$, then, to calculate $f^{-1}(x)$, all that needs to be done is you need to solve for the following $x$:
$v=\displaystyle\frac{\sqrt{x}}{x}$
square both sides
$v^2=\displaystyle\frac{1}{x}$
attain the reciprocal
$\displaystyle\frac{1}{v^2}=x$
and then swap the variables
$\displaystyle\frac{1}{x^2}=v$
hence, $f^{-1}(x)=\displaystyle\frac{1}{x^2}$
To confirm whether or not what we have written is true, we can take the rule that $f(f^{-1}(x))=x$, so lets substitute in $x=2$.
$f^{-1}(2)=\displaystyle\frac{1}{2^2}=\frac{1}{4}$
$\displaystyle f(\frac{1}{4})=\frac{\sqrt\frac{1}{4}}{\frac{1}{4}}=\frac{\frac{1}{2}}{\frac{1}{4}}=\frac{1}{2}\cdot4=2$
We can go further to prove that in this case $f(f^{-1}(x))=x$ if we were to use induction on $x$.
(sqrt(40) / 40)and i get0.158114, and you suggest that I should do:(1 / sqrt(40))for reverse it ? – MindLerp Sep 04 '17 at 23:46