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

*To*: mathgroup at smc.vnet.net*Subject*: [mg33707] Re: [mg33673] [Q]: huge number, ciphers after decimal point?*From*: BobHanlon at aol.com*Date*: Mon, 8 Apr 2002 03:04:41 -0400 (EDT)*Sender*: owner-wri-mathgroup at wolfram.com

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