Answering the question of the asker in his comment to the answer by fuglede:
Do we can make number 5 or 7 by only using of the actions Sum, Subtraction, multiplication, division, Square or root?
No, it is not possible. Assuming that the square root should only be applied once to each term (and not infinitely often, as proposed in another answer), there is no way of representing the numbers 5.0 and 7.0 under the given constaints.
The following is a list of all terms that result in values between 1.0 and 10.0 that can be obtained with addition, subtraction, multiplication, division, squaring or square root, sorted by the actual result. It was computed with a program simiar to the one in this stackoverflow answer, which computes all combinations of terms with the given operations. The list here only contains the equivalence classes referring to the result (that is, there are many ways of obtaining "1.0" as a result, but only one is listed here).
It can be seen that all whole numbers between 1.0 and 10.0 can be obtained, except for 5.0 and 7.0.
EDIT based on the request in the comments: The list now contains only the whole numbers that can be obtained, and, for 5 and 7, the next smaller/larger number, respectively. The full list can be seen in the previous revision
- $(9 \times (9/(9)^2)) = 1$
- $((9+9)/9) = 2$
- $((9+\sqrt{9})-9) = 3$
- $(\sqrt{9}+(9/9)) = 4$
- $\sqrt{(((9)^2-9)/\sqrt{9})} = 4.898979485566356$
- $\sqrt{(((9)^2-\sqrt{9})/\sqrt{9})} = 5.0990195135927845$
- $(9-(9/\sqrt{9})) = 6$
- $((9)^2/(9+\sqrt{9})) = 6.75$
- $((\sqrt{9}-(\sqrt{9}/9)))^2 = 7.111111111111111$
- $(9-(9/9)) = 8$
- $((9+9)-9) = 9$
- $(9+(9/9)) = 10$
3+2
and4+3
? You could uses the representation of the other numbers to add up to 5 and 7 respectively. In fact, just having a representation of 1 would also be enough. Repeated addition gets you others. Cumbersome? Sure. Solves the problem? Yes :) – PhD Apr 25 '14 at 19:42