MathGroup Archive 1998

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

Search the Archive

RE: Q: multiprecision question




Bin Wrote:
 ----------
|I am new to the mathematica so my problem might be naive. I am now
doing |some research on the extrapolation from real axis to the complex
plane, |by using the analytic continuity property in complex variable.
However, |due to the finite precision of Fortran and other programs, the result
is not |very accurate. I heard that mathemaica can perform the
computation by |specify the precision. My question is: Is that possible
in mathematica? |How to do that? i.e. If I want, say 100 decimal, how
can I let |mathematica know that?
|

Easy.
Suppose you want to compute Sin[3+I] with 100 correct digits. That's
Sin[3 + Capital i ]  where (Captital i)=Sqrt[-1]. Just do the
following:

In[9]:=
N[ Sin[3+I], 100]

Out[9]=
0.21775955162215223162459475156621247326955061443448722968716807454448535449
95\
833705594829876739116357-1.\
1634403637032505573309761202206068610104166170444687227097984173175641584306
87\948953192496817358504 I


Ted Ersek




  • Prev by Date: <<name failed
  • Next by Date: a probable bug
  • Prev by thread: Q: multiprecision question
  • Next by thread: More on new cells, keyboard shortcuts and macros