Re: Numerical Integration in Two Dimensions
- To: mathgroup at smc.vnet.net
- Subject: [mg38196] Re: Numerical Integration in Two Dimensions
- From: huhoic at aol.com (RAyRAy)
- Date: Thu, 5 Dec 2002 03:29:50 -0500 (EST)
- References: <asi1gh$esa$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
not sure if i understand your question. but you can just do Integrate[ Integrate[ f(x,y),{y, 0, 1-x}, {y,0,1}] if u don't like this you can always transform it into u v coordinate system. finding the jacobian for the transformation will get complex for a domain that's irregular. RAyRAy =) heheh Hope that helps. >Subject: [mg38196] Numerical Integration in Two Dimensions >From: Goyder Dr HGD H.Goyder at rmcs.cranfield.ac.uk To: mathgroup at smc.vnet.net >Date: 12/3/2002 2:37 AM Pacific Standard Time >Message-id: <asi1gh$esa$1 at smc.vnet.net> > >Dear Mathgroup, > >I want to integrate a function over a region. I can divide the region into >triangles and integrate over each triangle. Thus I need a module that does > >NTriangleIntegrate[f[x,y],{x,y},{{x1,y1},{x2,y2},{x3,y3}}] > >The function may not be defined outside the triangle. Presumably the >approach is to transform the coordinates so that the new coordinate system >is parallel to one edge (longest?, shortest?) and then integrate over limits >that taper towards an apex. > >Does someone have a good module (fast, accurate) to do this by this means or >any other? > >Thanks in advance > >Hugh Goyder > >