Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'numerical integration and limits of integration' topicStudent Support Forum > General > "numerical integration and limits of integration"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
jf
11/15/12 7:18pm

NIntegrate samples values at points in the domain. When the domain is so wide, it can miss features. The fix is to break the domain up so NIntegrate will integrate over each section separately.

In[8]:= NIntegrate[f[x], {x, -1000, 1000}, AccuracyGoal -> 8]

Out[8]= 9.52777*10^-136


In[9]:= NIntegrate[f[x], {x, -1000, -10, 10, 1000}, AccuracyGoal -> 8]

Out[9]= 5.54866



URL: ,

Subject (listing for 'numerical integration and limits of integration')
Author Date Posted
numerical integration and limits of integration Felipe Bengu... 11/15/12 1:04pm
Re: numerical integration and limits of integra... jf 11/15/12 7:18pm
Re: Re: numerical integration and limits of int... Felipe 11/15/12 9:49pm
Re: Re: numerical integration and limits of int... Peter Pein 11/16/12 01:19am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic