Re: Error in integrals?
- To: mathgroup at smc.vnet.net
- Subject: [mg9502] Re: Error in integrals?
- From: sergio at scisun.sci.ccny.cuny.edu (Sergio Rojas)
- Date: Sat, 8 Nov 1997 23:04:33 -0500
- Organization: City College Of New York - Science
- Sender: owner-wri-mathgroup at wolfram.com
Hello: I tried your example in Mathematica 2.2: In[12]:= In[12]:= N[Integrate[ior[m],{m,0,1}]] General::intinit: Loading integration packages -- please wait. Out[12]= 1.73206 In[13]:= NIntegrate[ior[m],{m,0,1}] Out[13]= 1.73206 In[14]:= In[14]:= $Version Out[14]= DEC OSF/1 Alpha 2.2 (September 9, 1994) Have fun Sergio In article <63rv7q$lqd at smc.vnet.net> you wrote: : Mathematica 3.0 on a PowerMac 7200/90 88MB Mac OS 8 gives different : results for Integrate vs. NIntegrate. : Here is one example. : ior[m_] := 1/3*(2*Sqrt[3]*Sqrt[(-1 + m^2)^2/(1 + m^2)^4] + : Sqrt[(Sqrt[3] - 6*m - Sqrt[3]*m^2)^2/(1 + m^2)^4] + Sqrt[(Sqrt[3] + : 6*m - Sqrt[3]*m^2)^2/(1 + m^2)^4]) : In[31]:= : N[Integrate[ior[m],{m,0,1}]] : Out[31]= : -0.42265 : In[32]:= : NIntegrate[ior[m],{m,0,1}] : Out[32]= : 1.73206 : What am I doing wrong ? Which answer is correct ? : Cliff Nelson