This is because of the x^(1/2); this is the same as the square root of x. Remember: if x is under the square root, then x can't be negative because negatives do not have square roots. X can be 0, because the square root of 0 is 0, and of course it can be positive. So, x can be anywhere from 0 to infinity including 0.
1 / 7.15 = 1000 / x......$ 1 to 7.15 rand = $ 1000 to x rand cross multiply because this is a proportion (1)(x) = (7.15)(1000) x = 7150 <=== Sophia got 7150 rand