integral inside an integral

*To*: mathgroup at smc.vnet.net*Subject*: [mg113583] integral inside an integral*From*: "Hagwood, Charles R." <charles.hagwood at nist.gov>*Date*: Wed, 3 Nov 2010 02:56:27 -0500 (EST)

Does anyone know how to make the following work using pure functions in Mathematica? Given two functions f and g compute and for a fixed k[x] h[f_,g_,alpha]:=NIntegrate[f[alpha-x]*k[x]/NIntegrate[g[alpha-x-y]*k[y],{y,-Infinity,Infinity}],{x,-Infinity,Infinity}] I want to put arbitrary functions f and g into h and get an answer. Charles