I am trying to plot a DensityPlot of a following integral, but I don’t know how to store values generated using Do in a usable format. Following is the code that I have. Please suggest me a solution. Thanks a lot in advance!
In Mathematica, there is almost always a better construct than Do or For. The attached notebook first uses Table to generate a table of values and ListDensityPlot to plot them. Then it defines a function of x1 and x2 to do the integration, and uses DensityPlot to plot that over a field of x1 and y1.