Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5195
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: help with integration |
| Date | 2011-09-25 02:39 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j5m48o$plv$1@smc.vnet.net> (permalink) |
On 9/23/11 at 3:43 AM, dsalman96@yahoo.com (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.
Use Assuming to specify your assumptions. Doing
Assuming[r>0, Integrate[...]]
is sufficient to specify r is real and positive. However, to
eliminate the conditional expression for this particular
integral you will need
Assuming[r>2Y&&y>0,Integrate[...]]
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: help with integration Bill Rowe <readnews@sbcglobal.net> - 2011-09-25 02:39 +0000
csiph-web