- #1
Anna Kaladze
- 35
- 0
Hi all,
I need to numerically integrate a function by utilizing “Table” command in the process (please see the code below), but for the parameter values I am interested in, I get complex results. I do not know why this is happening. Also, how do I get "normal" real values instead, while also ensuring that the answer is reasonably correct which one would expect from NIntegrate command.
Thanks a lot.
Anna.
Table[NIntegrate[((1-(u/40)^2.5)*((1/((1+0.06*(u-t)))))/Exp[0.01*u*(1.5-1)])^(1/1.5),{u,t,40}],{t,0,40,1}]
I need to numerically integrate a function by utilizing “Table” command in the process (please see the code below), but for the parameter values I am interested in, I get complex results. I do not know why this is happening. Also, how do I get "normal" real values instead, while also ensuring that the answer is reasonably correct which one would expect from NIntegrate command.
Thanks a lot.
Anna.
Table[NIntegrate[((1-(u/40)^2.5)*((1/((1+0.06*(u-t)))))/Exp[0.01*u*(1.5-1)])^(1/1.5),{u,t,40}],{t,0,40,1}]