Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Problem integrating' topicStudent Support Forum > General > "Problem integrating"

Next Comment >Help | Reply To Topic
Author Comment/Response
statty
06/13/12 2:17pm

Hi,
I am trying to integrate a function A(x) over the limits 0, 1000000.

The function A(x) is defined as
(((no*DR)^no)*(x)^(-no - 1)*Exp[(-no*DR)]/x)/
Gamma[no]

However, I am not getting an answer.
Below is the input and output I am receiving.
Can anyone see where I am making an error or is it due to the large exponential values I am trying to evaluate?

Thanks

In[36]:= DR = 1000000;
WL = 1;
pk = 8000;
no = (Datarate*Winlength)/pksize + 1

Out[39]= 126

In[40]:= A = (((no*DR)^no)*(x)^(-no - 1)*Exp[(-no*DR)]/x)/
Gamma[no]


Out[40]= 8892672075544384807935269331612540238455719520489653351054880\
9871266041504858795208014573851921542980692850856830998235494729794672\
1609342263754667588709903137904113486661405129187510678884188160000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
000000000000000000/(\
3776760546677177581176158441781546013327363516317471214972930456918367\
38419546031851239704677042325753233683 E^126000000 x^128)

In[41]:= integrate[A, {x, 0, 1000000}]


Out[41]= integrate[
889267207554438480793526933161254023845571952048965335105488098712660\
4150485879520801457385192154298069285085683099823549472979467216093422\
6375466758870990313790411348666140512918751067888418816000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000000000000000000000000000000000000000000000000000000000000000\
0000000000/(\
3776760546677177581176158441781546013327363516317471214972930456918367\
38419546031851239704677042325753233683 E^126000000 x^128), {x, 0,
1000000}]



URL: ,

Subject (listing for 'Problem integrating')
Author Date Posted
Problem integrating statty 06/13/12 2:17pm
Re: Problem integrating Bill Simpson 06/14/12 12:11pm
Re: Re: Problem integrating statty 06/15/12 08:02am
Re: Re: Re: Problem integrating Bill Simpson 06/15/12 11:37am
Re: Re: Re: Re: Problem integrating statty 06/17/12 08:15am
Next Comment >Help | Reply To Topic