Re: Rookie question
- To: mathgroup at smc.vnet.net
- Subject: [mg23695] Re: [mg23658] Rookie question
- From: BobHanlon at aol.com
- Date: Mon, 29 May 2000 12:24:24 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 5/28/2000 11:27:38 PM, jml at accessinter.net writes: >Sorry for my ignorance, but I have Mathematica for just 3 days, and I have >a trouble, I try to calculate the following expression: >Integrate[1/(2(1-x^2)^(1/2)+(1-x^2)),{x,0,1}], but Mathematica dont give >me >an answer, the program return the original input, do u have any ideas. Using Version 4 Integrate[1/(2(1 - x^2)^(1/2) + (1 - x^2)), {x, 0, 1}] Pi/(3*Sqrt[3]) % // N 0.6045997880780727 If your version can't do the symbolic integral, try using numeric integration NIntegrate[1/(2(1 - x^2)^(1/2) + (1 - x^2)), {x, 0, 1}] 0.6045997895732339 NIntegrate[1/(2(1 - x^2)^(1/2) + (1 - x^2)), {x, 0, 1 - 10^(-15)}] 0.6045997619134842 Bob BobHanlon at aol.com