|
[Date Index]
[Thread Index]
[Author Index]
Re: using N function
- To: mathgroup at smc.vnet.net
- Subject: [mg76395] Re: using N function
- From: Szabolcs <szhorvat at gmail.com>
- Date: Mon, 21 May 2007 06:02:23 -0400 (EDT)
- Organization: University of Bergen
- References: <f2me6h$lu4$1@smc.vnet.net> <f2orbi$6vd$1@smc.vnet.net>
The OP probably uses Thunderbird, and he copied and pasted the
expressions from his first message. Thunderbird has the stupid habit to
display the 2 in x^2 as a superscript. When you copy it, it will be
copied as x2, not x^2 (and unfortunately nobody cares to fix this bug).
So 640320^3 got turned into 6403203.
Pay attention to this if you use Thunderbird and you are copying
Mathematica code from e-mail messages ... it bit me more than once.
Szabolcs
Jens-Peer Kuska wrote:
> Hi,
>
> Mathematica 5.2 and 6.0 say
>
> 2.625374126343655*10^17
>
> and so I don't know what you mean ..
>
> Regards
> Jens
>
> kkwweett wrote:
>> Good morning Mathematica users,
>>
>>
>> Can anyone tell me, please, which of a),b) or c) is wrong :
>>
>> a)
>> <MathematicaHelp>
>> <quote>
>>
>> N[expr] is equivalent to N[expr, MachinePrecision].
>>
>> </quote>
>> </MathematicaHelp>
>>
>> b)
>> In[1]:=N[Exp[Sqrt[163 ]Pi] - 6403203]
>> Out[1]=256.
>>
>>
>> c)
>> In[2]:=N[Exp[Sqrt[163 ]Pi] - 6403203,$MachinePrecision]
>> Out[2]=743.9999999999993
>>
>> ?
>>
>> Thank you
>>
>
Prev by Date:
Re: 2D Convolution
Next by Date:
Re: Re: Re: 6.0 not seeing style sheets in $InstallationDirectory/SystemFiles/FrontEnd/StyleSheets
Previous by thread:
Re: using N function
Next by thread:
Re: Re: using N function
|