MathGroup Archive 2002

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

Search the Archive

AW: Question about precision.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38411] AW: [mg38405] Question about precision.
  • From: Matthias.Bode at oppenheim.de
  • Date: Sat, 14 Dec 2002 03:19:38 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello Mr. Wen-Feng Hsiao,

please try:

N[Sqrt[13/10], 50]

Best regards,

Matthias Bode
Sal. Oppenheim jr. & Cie. KGaA
Koenigsberger Strasse 29
D-60487 Frankfurt am Main
GERMANY
Tel.: +49(0)69 71 34 53 80
Mobile: +49(0)172 6 74 95 77
Fax: +49(0)69 71 34 95 380
E-mail: matthias.bode at oppenheim.de
Internet: http://www.oppenheim.de




-----Ursprüngliche Nachricht-----
Von: wfhsiao at libra.seed.net.tw [mailto:wfhsiao at libra.seed.net.tw]
Gesendet: Freitag, 13. Dezember 2002 10:19
An: mathgroup at smc.vnet.net
Betreff: [mg38405] Question about precision.


Dear experts,

I try to find the square root of 1.3, but obtain an not so correct
answer. Could someone point me how to do? My trials are the
followings.

In[28]:=
Sqrt[1.3]

Out[28]=
1.14018

In[29]:=
Precision[Sqrt[1.3]]

Out[29]=
16

In[30]:=
N[Sqrt[1.3], 50]

Out[30]=
1.14018

In[31]:=
1.14018*1.14018

Out[31]=
1.30001

The more precise answer should be
In[32]:=
1.140175425*1.140175425

Out[32]=
1.3

Thanks for your help!

Wen-Feng Hsiao


  • Prev by Date: RE: Question about precision.
  • Next by Date: crashing Mathematica 4
  • Previous by thread: Problem with Legend
  • Next by thread: crashing Mathematica 4