Hello,(adsbygoogle = window.adsbygoogle || []).push({});

I have the following segement of code:

and when I run it, the following error appears:Code (Text):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];

But I didn't find a situation where we can get ComplexInfinity. Can anyone help me, please?Code (Text):\[Infinity]::indet: Indeterminate expression 0 ComplexInfinity \

encountered. >>

\[Infinity]::indet: Indeterminate expression 0 ComplexInfinity \

encountered. >>

\[Infinity]::indet: Indeterminate expression 0 ComplexInfinity \

encountered. >>

Note: the minimum value for N=1, K=0, n=0, and sig and al are essentially greater than zero

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# ComplexInfinity encountered in Mathematica

Loading...

Similar Threads - ComplexInfinity encountered Mathematica | Date |
---|---|

Mathematica Cannot do the integral of the Hyper-geometric function? | Mar 11, 2018 |

Mathematica Cannot Plot This Function in Mathematica | Feb 26, 2018 |

Mathematica While Loop in Mathematica | Feb 25, 2018 |

Mathematica Mathematica Real Part | Feb 24, 2018 |

**Physics Forums - The Fusion of Science and Community**