Re: Re: Error in integrals?
- To: mathgroup at smc.vnet.net
- Subject: [mg9548] Re: [mg9499] Re: [mg9482] Error in integrals?
- From: Allan Hayes <hay at haystack.demon.co.uk>
- Date: Thu, 13 Nov 1997 01:40:12 -0500
- Sender: owner-wri-mathgroup at wolfram.com
"W. Meeussen" <w.meeussen.vdmcc at vandemoortele.be> [mg9499] Re: [mg9482]
Error in integrals?
Wouter
Just a footnote to your fine wrapping up of the of the integral problem.
We can split the range of integration for Integrate (as for NIntegrate)
Integrate[f,{x,a1,a2,... an}]
and integrate in one go.
In this case it is slightly faster
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]);
Integrate[ior[a],{a,0,2-Sqrt[3],1}]
1 -3 + Sqrt[3] 3 - 2 Sqrt[3]
-1 + ------- + ---------------- + --------------
Sqrt[3] 3 (-2 + Sqrt[3]) -6 + 3 Sqrt[3]
%//FullSimplify
Sqrt[3]
Allan
Allan Hayes
hay at haystack.demon.co.uk
http://www.haystack.demon.co.uk/training.html voice:+44 (0)116 2714198
fax: +44 (0)116 2718642
Leicester, UK