Triplequad for solving integral

I'm attempting to solve the integral: ∭D dxdydz/(x+y+z+1)^3 where D: x>0,y>0,z>0,x+y+z<2
, specifically with the use of the triplequad command. I'm having trouble determining the constant limits so I wonder if there is a way to allow for triplequad to use bounds that depend upon variables?
If not, is there anyone who happens to be able to determine the constant limits for me :)?
Thanks in advance!

1 个评论

The region of integration in your problem is such that you cannot use constant limits of integration with the triple integral in its present form. You would have to make a change of variables to be able to do that.

请先登录,再进行评论。

 采纳的回答

I don't believe the 'triplequad' function will accept limits that depend on variables. However the function 'integral3' does accept variable limits for two of its limits. See its documentation at:
http://www.mathworks.com/help/matlab/ref/integral3.html
Your particular integral is sufficiently simple that you could find its precise value using elementary calculus or the 'int' function in the Symbolic Toolbox instead of using numerical approximations.

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Numerical Integration and Differentiation 的更多信息

产品

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by