Is there a numerical method to solve a triple integral without numeric limits in its inner integrals











up vote
0
down vote

favorite












Let's say I have this triple integral with this kind of limits:



$$
int _0^2:int_x^{8x}:int _0^y4xyz:dz:dy:dx:
$$



I wondering what numerical method I can use to solve it and eventually write a program/script to solve it. No symbolic solutions, no python+sympy.



Thanks.



Note: No need to solve it, just the right numeric method to solve this kind of integrals.










share|cite|improve this question
























  • python + scipy?
    – Mark McClure
    Nov 24 at 0:33










  • That's the second part! I need to be able to do it myself with a numeric method, then the computer.
    – Cliff
    Nov 24 at 0:34










  • The question is not clearly delimited / defined for my taste. What does it mean "numerically solve" or the "right numeric method" for (a) an integral with one variable and with fixed limits, (b) for the above integral (on a compact domain in $Bbb R^3$)? Why is the usual approach to solve integral after integral after integral, each integral numerically computed "with usual algorithms", not applicable?
    – dan_fulea
    Nov 24 at 0:41










  • Well then the answer might be just easier. What algorithm can I use without using a symbolic library? I can't just code a regular algorithm with those limits.
    – Cliff
    Nov 24 at 0:45










  • Simple algorithm (though not the best) to implement here is Monte Carlo integration. Make $n$ samples ${x,y,z}_i$ where you draw uniformly $xin[0,2]$ and $y,zin[0,16]$. Sum up $4xyz$ for the samples that satisfy $z<y$ and $x<y<8x$. Your integral is then this sum times $(16cdot 16cdot 2)/n$. The answer to $1%$ with $10^6$ samples.
    – Winther
    Nov 24 at 0:49

















up vote
0
down vote

favorite












Let's say I have this triple integral with this kind of limits:



$$
int _0^2:int_x^{8x}:int _0^y4xyz:dz:dy:dx:
$$



I wondering what numerical method I can use to solve it and eventually write a program/script to solve it. No symbolic solutions, no python+sympy.



Thanks.



Note: No need to solve it, just the right numeric method to solve this kind of integrals.










share|cite|improve this question
























  • python + scipy?
    – Mark McClure
    Nov 24 at 0:33










  • That's the second part! I need to be able to do it myself with a numeric method, then the computer.
    – Cliff
    Nov 24 at 0:34










  • The question is not clearly delimited / defined for my taste. What does it mean "numerically solve" or the "right numeric method" for (a) an integral with one variable and with fixed limits, (b) for the above integral (on a compact domain in $Bbb R^3$)? Why is the usual approach to solve integral after integral after integral, each integral numerically computed "with usual algorithms", not applicable?
    – dan_fulea
    Nov 24 at 0:41










  • Well then the answer might be just easier. What algorithm can I use without using a symbolic library? I can't just code a regular algorithm with those limits.
    – Cliff
    Nov 24 at 0:45










  • Simple algorithm (though not the best) to implement here is Monte Carlo integration. Make $n$ samples ${x,y,z}_i$ where you draw uniformly $xin[0,2]$ and $y,zin[0,16]$. Sum up $4xyz$ for the samples that satisfy $z<y$ and $x<y<8x$. Your integral is then this sum times $(16cdot 16cdot 2)/n$. The answer to $1%$ with $10^6$ samples.
    – Winther
    Nov 24 at 0:49















up vote
0
down vote

favorite









up vote
0
down vote

favorite











Let's say I have this triple integral with this kind of limits:



$$
int _0^2:int_x^{8x}:int _0^y4xyz:dz:dy:dx:
$$



I wondering what numerical method I can use to solve it and eventually write a program/script to solve it. No symbolic solutions, no python+sympy.



Thanks.



Note: No need to solve it, just the right numeric method to solve this kind of integrals.










share|cite|improve this question















Let's say I have this triple integral with this kind of limits:



$$
int _0^2:int_x^{8x}:int _0^y4xyz:dz:dy:dx:
$$



I wondering what numerical method I can use to solve it and eventually write a program/script to solve it. No symbolic solutions, no python+sympy.



Thanks.



Note: No need to solve it, just the right numeric method to solve this kind of integrals.







integration definite-integrals numerical-methods






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Nov 24 at 0:35

























asked Nov 24 at 0:28









Cliff

115




115












  • python + scipy?
    – Mark McClure
    Nov 24 at 0:33










  • That's the second part! I need to be able to do it myself with a numeric method, then the computer.
    – Cliff
    Nov 24 at 0:34










  • The question is not clearly delimited / defined for my taste. What does it mean "numerically solve" or the "right numeric method" for (a) an integral with one variable and with fixed limits, (b) for the above integral (on a compact domain in $Bbb R^3$)? Why is the usual approach to solve integral after integral after integral, each integral numerically computed "with usual algorithms", not applicable?
    – dan_fulea
    Nov 24 at 0:41










  • Well then the answer might be just easier. What algorithm can I use without using a symbolic library? I can't just code a regular algorithm with those limits.
    – Cliff
    Nov 24 at 0:45










  • Simple algorithm (though not the best) to implement here is Monte Carlo integration. Make $n$ samples ${x,y,z}_i$ where you draw uniformly $xin[0,2]$ and $y,zin[0,16]$. Sum up $4xyz$ for the samples that satisfy $z<y$ and $x<y<8x$. Your integral is then this sum times $(16cdot 16cdot 2)/n$. The answer to $1%$ with $10^6$ samples.
    – Winther
    Nov 24 at 0:49




















  • python + scipy?
    – Mark McClure
    Nov 24 at 0:33










  • That's the second part! I need to be able to do it myself with a numeric method, then the computer.
    – Cliff
    Nov 24 at 0:34










  • The question is not clearly delimited / defined for my taste. What does it mean "numerically solve" or the "right numeric method" for (a) an integral with one variable and with fixed limits, (b) for the above integral (on a compact domain in $Bbb R^3$)? Why is the usual approach to solve integral after integral after integral, each integral numerically computed "with usual algorithms", not applicable?
    – dan_fulea
    Nov 24 at 0:41










  • Well then the answer might be just easier. What algorithm can I use without using a symbolic library? I can't just code a regular algorithm with those limits.
    – Cliff
    Nov 24 at 0:45










  • Simple algorithm (though not the best) to implement here is Monte Carlo integration. Make $n$ samples ${x,y,z}_i$ where you draw uniformly $xin[0,2]$ and $y,zin[0,16]$. Sum up $4xyz$ for the samples that satisfy $z<y$ and $x<y<8x$. Your integral is then this sum times $(16cdot 16cdot 2)/n$. The answer to $1%$ with $10^6$ samples.
    – Winther
    Nov 24 at 0:49


















python + scipy?
– Mark McClure
Nov 24 at 0:33




python + scipy?
– Mark McClure
Nov 24 at 0:33












That's the second part! I need to be able to do it myself with a numeric method, then the computer.
– Cliff
Nov 24 at 0:34




That's the second part! I need to be able to do it myself with a numeric method, then the computer.
– Cliff
Nov 24 at 0:34












The question is not clearly delimited / defined for my taste. What does it mean "numerically solve" or the "right numeric method" for (a) an integral with one variable and with fixed limits, (b) for the above integral (on a compact domain in $Bbb R^3$)? Why is the usual approach to solve integral after integral after integral, each integral numerically computed "with usual algorithms", not applicable?
– dan_fulea
Nov 24 at 0:41




The question is not clearly delimited / defined for my taste. What does it mean "numerically solve" or the "right numeric method" for (a) an integral with one variable and with fixed limits, (b) for the above integral (on a compact domain in $Bbb R^3$)? Why is the usual approach to solve integral after integral after integral, each integral numerically computed "with usual algorithms", not applicable?
– dan_fulea
Nov 24 at 0:41












Well then the answer might be just easier. What algorithm can I use without using a symbolic library? I can't just code a regular algorithm with those limits.
– Cliff
Nov 24 at 0:45




Well then the answer might be just easier. What algorithm can I use without using a symbolic library? I can't just code a regular algorithm with those limits.
– Cliff
Nov 24 at 0:45












Simple algorithm (though not the best) to implement here is Monte Carlo integration. Make $n$ samples ${x,y,z}_i$ where you draw uniformly $xin[0,2]$ and $y,zin[0,16]$. Sum up $4xyz$ for the samples that satisfy $z<y$ and $x<y<8x$. Your integral is then this sum times $(16cdot 16cdot 2)/n$. The answer to $1%$ with $10^6$ samples.
– Winther
Nov 24 at 0:49






Simple algorithm (though not the best) to implement here is Monte Carlo integration. Make $n$ samples ${x,y,z}_i$ where you draw uniformly $xin[0,2]$ and $y,zin[0,16]$. Sum up $4xyz$ for the samples that satisfy $z<y$ and $x<y<8x$. Your integral is then this sum times $(16cdot 16cdot 2)/n$. The answer to $1%$ with $10^6$ samples.
– Winther
Nov 24 at 0:49

















active

oldest

votes











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3011022%2fis-there-a-numerical-method-to-solve-a-triple-integral-without-numeric-limits-in%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Mathematics Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3011022%2fis-there-a-numerical-method-to-solve-a-triple-integral-without-numeric-limits-in%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

To store a contact into the json file from server.js file using a class in NodeJS

Redirect URL with Chrome Remote Debugging Android Devices

Dieringhausen