Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2010

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

Search the Archive

Re: Can't get Mathematica to evaluate correctly a difficult

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111567] Re: Can't get Mathematica to evaluate correctly a difficult
  • From: Damien Wyart <damien.wyart at free.fr>
  • Date: Thu, 5 Aug 2010 07:01:29 -0400 (EDT)
  • References: <i3bd7l$pjr$1@smc.vnet.net> <i3bk9b$2rh$1@smc.vnet.net>

* Peter Pein <petsie at dordos.net> in comp.soft-sys.math.mathematica:
> use exact input and then evaluate with a precision greater than 22 :

> In[14]:= N[173746*Sin[10^22]+94228*Log[171/10]-78487*Exp[21/50],30]
> Out[14]= -1.34181895782961954970427868423*10^-12

> or change the precision of the input:

> In[15]:= 173746*Sin[10^22]+94228*Log[17.1`30]-78487*Exp[0.42`30]
> Out[15]= -1.341818957830*10^-12

Many thanks for this answer and also to all the people who sent
a private answer. It is very much appreciated. I realize my question was
maybe a bit silly, but now I understand better why my trials were not
successful.


Very best regards,

-- 
DW


  • Prev by Date: how to work with custom probability distributions
  • Next by Date: Re: Silly question on Matrices
  • Previous by thread: Re: Can't get Mathematica to evaluate correctly a difficult
  • Next by thread: Save a notebook state