MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: [Q]: huge number, ciphers after decimal point?


In a message dated 4/6/02 1:45:08 AM, sw at wops.de writes:

>I'm a newbie ... I have a rather huge number
>( (Sqrt[2]+Sqrt[3])^2002 which is app. 3.85x10^996 )
>and want to know the two ciphers that are
>(a) directly before and
>(b) directly after the decimal point.
>
>Is there a way to achieve this with Mathematica?
>

x=N[(Sqrt[2]+Sqrt[3])^2002, 2000];

n=IntegerPart[x]

f = FractionalPart[x]

1-f

The digits you requested are 09.99; however, the fractional part is 
0.99999.... (almost a thousand consecutive 9s after the decimal) so the 
requested digits are essentially 10.00


Bob Hanlon
Chantilly, VA  USA


  • Prev by Date: Re: Plot inset?
  • Next by Date: Re: Symbols using Prolog
  • Previous by thread: Re: [Q]: huge number, ciphers after decimal point?
  • Next by thread: RE: [Q]: huge number, ciphers after decimal point?