Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5174
| From | Heike Gramberg <heike.gramberg@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: help with integration |
| Date | 2011-09-25 02:33 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j5m3u5$phk$1@smc.vnet.net> (permalink) |
| References | <201109230743.DAA07691@smc.vnet.net> |
You could try the Assumptions option in Integrate, e.g.
Integrate[
r^2*ArcCos[x/r] - x*Sqrt[r^2 - x^2], {x, Sqrt[3] y,
Sqrt[r^2 - y^2]},
Assumptions -> (r >= 0 && y > 0 && r > 2 y)]
which gives
y^3/3 + 2/3 r^2 Sqrt[r^2 - 3 y^2] + y^2 Sqrt[r^2 - 3 y^2] -
r^2 y (1 + Sqrt[3] ArcCos[(Sqrt[3] y)/r]) +
r^2 Sqrt[(r - y) (r + y)] ArcSec[r/Sqrt[r^2 - y^2]]
The extra advantage is that using Assumptions might help to speed up the
integration as well.
Heike.
On 23 Sep 2011, at 09:43, Salman Durrani wrote:
> I am trying to do the following integration:
>
> Integrate[r^2*ArcCos[x/r] - x*Sqrt[r^2 - x^2], {x, Sqrt[3] y, Sqrt[r^2
- y^2]} ]
>
> When I try, Mathematica comes back to be with a very long conditional
expression.
>
> How do I tell mathematica that r is positive, real in the above
equation not complex.
>
> Thanks
>
> Kahless
>
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: help with integration Heike Gramberg <heike.gramberg@gmail.com> - 2011-09-25 02:33 +0000
csiph-web