[Date Index] [Thread Index] [Author Index]
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+Sqrt)^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+Sqrt)^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