Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Iteration limit error for no apparent reason' topicStudent Support Forum > General > "Iteration limit error for no apparent reason"

Help | Reply To Topic
Author Comment/Response
Domenic Denicola
07/23/07 04:41am

The following code gives me an iteration limit exceeded error. I have tried setting the limit higher, but it still gives me the error. (I had originally wanted to use pi instead of zz in the original expression, but when I tried to evaluate that expression I got the error. Now, I use zz and get the expression below, but when I try to substitute zz = pi back in, I get the error.)

I can't see why this might be an iteration at all, much less why it might do more than 4096 (or even 99 999) of them.

zz = \[Pi]; 1/6 (((1/8000000 - (19 \[ImaginaryI])/
8000000) \[ExponentialE]^(-1/
100 \[ImaginaryI] \[Pi] (10 x[1][t] + 9 y[1][t] +
8 z[1][t]) -
1/100 \[ImaginaryI] \[Pi] (2 x[2][t] + 2 y[2][t] +
3 z[2][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[3][t] + 11 y[3][t] +
10 z[3][t])) Sqrt[(
50 + 1/2 Sqrt[
10000 + 321 \[Pi]^2])/((100 + Sqrt[10000 + 17 \[Pi]^2]) (100 +
Sqrt[5 (2000 + 49 \[Pi]^2)]))]
zz^2)/(5 (10000 + 17 \[Pi]^2) (2000 + 49 \[Pi]^2) (10000 +
321 \[Pi]^2))^(
1/4) - ((1/8000000 - (19 \[ImaginaryI])/
8000000) \[ExponentialE]^(-1/
100 \[ImaginaryI] \[Pi] (2 x[1][t] + 2 y[1][t] +
3 z[1][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[2][t] + 9 y[2][t] +
8 z[2][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[3][t] + 11 y[3][t] +
10 z[3][t])) Sqrt[(
50 + 1/2 Sqrt[
10000 + 321 \[Pi]^2])/((100 + Sqrt[10000 + 17 \[Pi]^2]) (100 +
Sqrt[5 (2000 + 49 \[Pi]^2)]))]
zz^2)/(5 (10000 + 17 \[Pi]^2) (2000 + 49 \[Pi]^2) (10000 +
321 \[Pi]^2))^(
1/4) + ((1/16000000 - \[ImaginaryI]/
80000) \[ExponentialE]^(-1/
100 \[ImaginaryI] \[Pi] (10 x[1][t] + 11 y[1][t] +
10 z[1][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[2][t] + 9 y[2][t] +
8 z[2][t]) -
1/100 \[ImaginaryI] \[Pi] (2 x[3][t] + 2 y[3][t] + 3 z[3][t]))
Sqrt[(50 + 1/2 Sqrt[10000 + 17 \[Pi]^2])/(
100 + Sqrt[5 (2000 + 49 \[Pi]^2)])]
zz^2)/((5 (10000 + 17 \[Pi]^2) (2000 + 49 \[Pi]^2) (10000 +
321 \[Pi]^2))^(1/4) Sqrt[
100 + Sqrt[
10000 + 321 \[Pi]^2]]) - ((1/16000000 - \[ImaginaryI]/
80000) \[ExponentialE]^(-1/
100 \[ImaginaryI] \[Pi] (10 x[1][t] + 9 y[1][t] +
8 z[1][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[2][t] + 11 y[2][t] +
10 z[2][t]) -
1/100 \[ImaginaryI] \[Pi] (2 x[3][t] + 2 y[3][t] + 3 z[3][t]))
Sqrt[(50 + 1/2 Sqrt[10000 + 17 \[Pi]^2])/(
100 + Sqrt[5 (2000 + 49 \[Pi]^2)])]
zz^2)/((5 (10000 + 17 \[Pi]^2) (2000 + 49 \[Pi]^2) (10000 +
321 \[Pi]^2))^(1/4) Sqrt[
100 + Sqrt[
10000 + 321 \[Pi]^2]]) + ((1/8000000 + (21 \[ImaginaryI])/
8000000) \[ExponentialE]^(-1/
100 \[ImaginaryI] \[Pi] (10 x[1][t] + 11 y[1][t] +
10 z[1][t]) -
1/100 \[ImaginaryI] \[Pi] (2 x[2][t] + 2 y[2][t] +
3 z[2][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[3][t] + 9 y[3][t] + 8 z[3][t]))
Sqrt[(1 + Sqrt[1 + (49 \[Pi]^2)/2000])/(
100 + Sqrt[10000 + 17 \[Pi]^2])]
zz^2)/(((1 + (49 \[Pi]^2)/2000) (10000 + 17 \[Pi]^2) (10000 +
321 \[Pi]^2))^(1/4) Sqrt[
2 (100 + Sqrt[10000 + 321 \[Pi]^2])]) - ((1/8000000 + (
21 \[ImaginaryI])/
8000000) \[ExponentialE]^(-1/
100 \[ImaginaryI] \[Pi] (2 x[1][t] + 2 y[1][t] +
3 z[1][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[2][t] + 11 y[2][t] +
10 z[2][t]) -
1/100 \[ImaginaryI] \[Pi] (10 x[3][t] + 9 y[3][t] + 8 z[3][t]))
Sqrt[(1 + Sqrt[1 + (49 \[Pi]^2)/2000])/(
100 + Sqrt[10000 + 17 \[Pi]^2])]
zz^2)/(((1 + (49 \[Pi]^2)/2000) (10000 + 17 \[Pi]^2) (10000 +
321 \[Pi]^2))^(1/4) Sqrt[
2 (100 + Sqrt[10000 + 321 \[Pi]^2])]))

URL: ,
Help | Reply To Topic