- #1
EngWiPy
- 1,368
- 61
Hello,
I have the following segement of code:
and when I run it, the following error appears:
But I didn't find a situation where we can get ComplexInfinity. Can anyone help me, please?
Note: the minimum value for N=1, K=0, n=0, and sig and al are essentially greater than zero
I have the following segement of code:
Code:
IA1[N_, k_, n_, sig_, al_] := (
Sqrt[Pi]*(4*al)^(n + 1))/(sig - s + (2*al))^(NA + k + n + 1)*(
Gamma[N + k + n + 1]*Gamma[N + k - n - 1])/Gamma[N + k + 0.5]*
Hypergeometric2F1[N + k + n + 1, n + 1.5, N + k + 0.5, (
sig - s - 2*al)/(sig - s + 2*al)];
IA2[N_, k_, n_, sig_, al_] := (Sqrt[Pi]*(4*al)^n)/(sig - s + (2*al))^(
NA + k + n + 1)*(Gamma[N + k + n + 1]*Gamma[N + k - n + 1])/
Gamma[N + k + 1.5]*
Hypergeometric2F1[N + k + n + 1, n + 0.5, N + k + 1.5, (
sig - s - 2*al)/(sig - s + 2*al)];
IA[N_, k_, n_, sig_, al_] :=
2*(N + k - n - 1)*IA1[N, k, n, sig, al] -
sig*D[IA1[N, k, n, sig, al], s] - 2*al*IA2[N, k, n, sig, al];
and when I run it, the following error appears:
Code:
\[Infinity]::indet: Indeterminate expression 0 ComplexInfinity \
encountered. >>
\[Infinity]::indet: Indeterminate expression 0 ComplexInfinity \
encountered. >>
\[Infinity]::indet: Indeterminate expression 0 ComplexInfinity \
encountered. >>
But I didn't find a situation where we can get ComplexInfinity. Can anyone help me, please?
Note: the minimum value for N=1, K=0, n=0, and sig and al are essentially greater than zero
Last edited: