too much at once. just pick ONE
Asking ram decimals to represent the square root of 2 is probably going to be the most challenging "simple" question we could ask.
One problem is that you need to be able to forbid certain decimals from being in your system (such as the
standard meaning to 0.999~ or 0.333~). However, you need to retain enough flexibility to represent irrational numbers like sqrt(2).
However, the most disasterous part, I think, is that without the nicely repeating patterns of rational numbers to help you out, there may be no way to "connect" the end of a decimal to the beginning of a decimal.
Note that your system already has limited forms of this problem with rational numbers; for instance, for the decimal 0.121212~, is the last digit a 2 (with remainder 12/99) or is it a 1 (with remainder 21/99)? This problem is solvable; I think the irrational version is not (at least not without using some difficult mathematics).
by the way, what's the accepted calculation for obtaining digits of pi ?
There can be particular methods for particular numbers, but there is a most general method to constructing a (mathematical) decimal, which I will demonstrate to construct the first few digits of sqrt(6).
2 < sqrt(6) < 3, so the first digit is 2
2.4 < sqrt(6) < 2.5, so the second digit is 4
2.44 < sqrt(6) < 2.45, so the third digit is 4
2.449 < sqrt(6), so the fourth digit is 9
2.4494 < sqrt(6) < 2.4495, so the fifth digit is 4
...
(see 1: below)
This recursively defines the n-th digit (for any positive
integer n). You'll have to devise some clever trick, though, to extend this definition to go beyond integer positions, and such extensions are not generally easy, especially with recursions that strongly depend on knowing the previous term.
"blah blah 8.999~ IS 9..." if it was 9 then it would have calculated out to BE 9.
Do you also assert that the fraction 2/4 cannot be equal to the fraction 1/2?
(After all, if it was 1/2, then it would've been calculated out to BE 1/2...)
1: For simplicity, I was not considering the possibility that any of these partial decimals may be equal to the target number, but you wouldn't be happy with such a more complete method anyways, because it would yield yet another direct proof that 0.999~ = 1