Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #10566 > unrolled thread

Mathematica freezes?

Started byAlex Khmelnitsky <akhmel6@gmail.com>
First post2012-06-21 09:21 +0000
Last post2012-06-22 07:02 +0000
Articles 2 — 2 participants

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Mathematica freezes? Alex Khmelnitsky <akhmel6@gmail.com> - 2012-06-21 09:21 +0000
    Re: Mathematica freezes? Jason Ebaugh <ebaughjason@gmail.com> - 2012-06-22 07:02 +0000

#10566 — Mathematica freezes?

FromAlex Khmelnitsky <akhmel6@gmail.com>
Date2012-06-21 09:21 +0000
SubjectMathematica freezes?
Message-ID<jrup2b$flc$1@smc.vnet.net>
When I try to do the following commands:

r = 3.7; a = 5.1; z = 1.1; p = 0.61; 

e = Exp[I f]; 
ep = Exp[I p]; 
tc = r \[Rho] ep/e; 
l1 =  1/2 (Sqrt[(r + a)^2 + z^2] - Sqrt[(r - a)^2 + z^2]); 
l2 = 
 1/2 (Sqrt[(r + a)^2 + z^2] + Sqrt[(r - a)^2 + z^2]); 
sq = Sqrt[a^2 - \[Rho]^2]; 
sq1 = Sqrt[a^2 - l1^2]; 
sq2 = Sqrt[ l2^2 - a^2]; 
\[Rho] = a Sin[x]; 
ff1 =  2 Pi (a^2/(a^2 - tc)^(3/2) ArcTan[Sqrt[a^2 - tc]/sq2] - (
    tc sq2)/((a^2 - tc) (l2^2 - tc)));

NIntegrate[ff1 \[Rho]^2/e, {f, 0, 2 Pi}, {x, 0, Pi/2}], 

it freezes Mathematica. Does it freeze on anyone else's computer?

Thanks.

[toc] | [next] | [standalone]


#10585

FromJason Ebaugh <ebaughjason@gmail.com>
Date2012-06-22 07:02 +0000
Message-ID<js159a$kem$1@smc.vnet.net>
In reply to#10566
The evaluation does not complete and I get this message:
"NIntegrate::slwcon: Numerical integration converging too slowly; suspect one of the following: singularity, value of the integration is 0, highly oscillatory integrand, or WorkingPrecision too small. >>"

But the front end application itself does not freeze. I can just choose "abort evaluation" for the pull down menu and all is well.



Jason Ebaugh



On Thursday, June 21, 2012 4:21:15 AM UTC-5, Alex Khmelnitsky wrote:
> When I try to do the following commands:
> 
> r = 3.7; a = 5.1; z = 1.1; p = 0.61; 
> 
> e = Exp[I f]; 
> ep = Exp[I p]; 
> tc = r \[Rho] ep/e; 
> l1 =  1/2 (Sqrt[(r + a)^2 + z^2] - Sqrt[(r - a)^2 + z^2]); 
> l2 = 
>  1/2 (Sqrt[(r + a)^2 + z^2] + Sqrt[(r - a)^2 + z^2]); 
> sq = Sqrt[a^2 - \[Rho]^2]; 
> sq1 = Sqrt[a^2 - l1^2]; 
> sq2 = Sqrt[ l2^2 - a^2]; 
> \[Rho] = a Sin[x]; 
> ff1 =  2 Pi (a^2/(a^2 - tc)^(3/2) ArcTan[Sqrt[a^2 - tc]/sq2] - (
>     tc sq2)/((a^2 - tc) (l2^2 - tc)));
> 
> NIntegrate[ff1 \[Rho]^2/e, {f, 0, 2 Pi}, {x, 0, Pi/2}], 
> 
> it freezes Mathematica. Does it freeze on anyone else's computer?
> 
> Thanks.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web