Question about precision.
- To: mathgroup at smc.vnet.net
- Subject: [mg38405] Question about precision.
- From: wfhsiao at libra.seed.net.tw (Wen-Feng Hsiao)
- Date: Fri, 13 Dec 2002 04:19:05 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
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