Re: Two Dimensional Numerical Integration Packages
- To: mathgroup at smc.vnet.net
- Subject: [mg4519] Re: Two Dimensional Numerical Integration Packages
- From: Harald Berndt <haraldb at nature.berkeley.edu>
- Date: Fri, 2 Aug 1996 02:22:44 -0400
- Organization: University of California Forest Products Lab
- Sender: owner-wri-mathgroup at wolfram.com
Sirpa Saarinen wrote:
> You can also use NIntegrate directly:
>
> In[1]:= f[x_, y_] := Sin[x + Sin[y]]
>
> In[2]:= NIntegrate[f[x,y],{x,0,5},{y,0,5}]
>
> Out[2]= 2.07016
Thanks.
Hmmm ... must be an undocumented feature?!
In[1]:=
?NIntegrate
NIntegrate[f, {x, xmin, xmax}] gives a numerical approximation to the
integral of f with respect to x over the interval xmin to xmax.
--
_______________________________________________________________
Harald Berndt University of California
Research Specialist Forest Products Laboratory
Phone: 510-215-4224 FAX:510-215-4299
_______________________________________________________________
==== [MESSAGE SEPARATOR] ====