My goal is to integrate the following double integral in R: Here is the doubleintegral
I dont know how to implement the upper bound in R. (min(0,t))
The way I calculatet the integral is:
library('cubature')
adaptIntegrate(doubleintegralfunction, lowerLimit = c(-2.5, -2), upperLimit = c(0, 2), x=x,r=r,m=m,n=n)$integral
Dont worry about the different boundaries, the only one that i would like to change is the 0 to min(0,t). Any ideas?
for illustration copy past this into google:
((-x)^(2-1)*(y-x)^(2-1)*exp((16.8+72.9)*x))*exp(-72.9*y- (-0.036-y-0.0332*1+0.5*0.0311^2*1)^2/(2*0.0311^2*1))
Thank you for your help