P = 0;
l = 0;
x = 4;
κ = 0.01;
n = 5;
q = (κ*n)/2;
Do[Q = (Exp[((-I)*(MathieuCharacteristicA[ν, q] - x^2/4)*(τ/2))])*
(Integrate[
(Exp[(-I)*(l - x/2)*(θ)])*(Exp[(I)*(ν)*(θ)])*
(MathieuC[MathieuCharacteristicA[ν, q], q, θ]),
{θ, 0, 2 π}
])*
(Integrate[
(Exp[(I)*(y - x/2)*(z)])*(Exp[(-I)*(ν)*(z)])*
(MathieuC[MathieuCharacteristicA[ν, q], q, z]),
{z, 0, 2 π}
]);
P = P + Q,
{y, 0, 8, 2}, {ν, 6, 14, 2}
];
Q1 = N[P]
I get error when I get numerical value. But there is no error until value of y is in range 0 to 6. As it increases from 6 to 8, I get the error. When I tried max recurssion limit of 12, I see a "not machine sized integer" error.
Please help.
NIntegrate. Additionally primed symbols mean derivatives in Mathematica, so you should get rid of those. – Oleksandr R. May 15 '15 at 13:21