I've written a matlab m-file to draw a double integral as below.My problem is how to draw a double integral when the variables are located in the bounds of the integral not under its operator!!!!!!!!!!!(adsbygoogle = window.adsbygoogle || []).push({});

m-file:

tetha = pi/4;

lamb = -1;

h = 4;

tetha0 = 0;

syms x y l

n = [h.*((cos(tetha)).^2)./sin(tetha); h.*abs(cos(tetha)); 0];

ft = ((tetha - pi/2)./sin(tetha)).^4;

Rt = [cos(tetha) -sin(tetha); sin(tetha) cos(tetha)];

zt = [cos(tetha0) -sin(tetha0); sin(tetha0) cos(tetha0)];

lt = [x;y];

integrand = @(x,y)(ft.*h.*((abs(cos(tetha)).* (x.*cos(tetha)-y.*sin(tetha)))-((cos(tetha)).^2/sin(tetha)).*(x.*sin(tetha)+y.*cos(tetha))));

PhiHat = @(a,b)(dblquad(integrand,0,a,0,b));

ezsurfc(PhiHat,[0,5,0,5])

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Mathematica: draw a double integral

Can you offer guidance or do you also need help?

Draft saved
Draft deleted

Loading...

Similar Threads - Mathematica draw double | Date |
---|---|

Mathematica Cannot do the integral of the Hyper-geometric function? | Mar 11, 2018 |

Mathematica : Draw a simple line, make into image | Jun 19, 2013 |

Drawing more Complicated Graphs in Mathematica | Dec 12, 2009 |

Help in drawing planes in mathematica | Oct 11, 2009 |

How to draw integral with mathematica | Sep 4, 2009 |

**Physics Forums - The Fusion of Science and Community**