Re: BigDecimal and trigonometrics
- From: "Oliver Wong" <owong@xxxxxxxxxxxxxx>
- Date: Wed, 16 Nov 2005 17:06:09 GMT
"Jeffrey Schwab" <jeff@xxxxxxxxxxxxxxxx> wrote in message
news:CwJef.502$xD5.738229@xxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> Yes, that's true. But can you please point me to an irrational number
> that cannot be derived by a sequence of mathematical operations on
> rational numbers?
No, but I think I can prove their existence if I can prove that all
sequences of mathematical operations on rational numbers is countable (since
the there are uncountably many irrational numbers).
Every sequence of mathematical operations on rational numbers can be
represented by some ASCII string (e.g. "1+1")
You can order them by using Java's standard string sorting algorithm.
Associate the first such legal string with the integer 1.
Associate the second such legal string with the integer 2.
And so on.
You now have a 1 to 1 mapping between sequences of mathematical
operations on rational numbers and the set of natural numbers, thus showing
that there are only countably many sequences of mathematical operations on
rational numbers.
Note that I'm assuming the ASCII representation is finite, which I think
is true as long as the number of operators and the number of arguments to
each operator is finite in the sequence (and as long as each operator and
each term can be represented by a finite number of characters, which is true
for rational numbers).
- Oliver
.
- Follow-Ups:
- Re: BigDecimal and trigonometrics
- From: Jeffrey Schwab
- Re: BigDecimal and trigonometrics
- References:
- BigDecimal and trigonometrics
- From: javerberg
- Re: BigDecimal and trigonometrics
- From: Oliver Wong
- Re: BigDecimal and trigonometrics
- From: Roedy Green
- Re: BigDecimal and trigonometrics
- From: Jeffrey Schwab
- Re: BigDecimal and trigonometrics
- From: Oliver Wong
- Re: BigDecimal and trigonometrics
- From: Jeffrey Schwab
- BigDecimal and trigonometrics
- Prev by Date: Access to an https page with certificate
- Next by Date: Re: installing Java 5.0 on OS X Tiger
- Previous by thread: Re: BigDecimal and trigonometrics
- Next by thread: Re: BigDecimal and trigonometrics
- Index(es):
Relevant Pages
|