Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 2
    $\begingroup$ What error message do you get? If it's a convergence error, then probably the function has been evaluated hundreds or thousands of times, and it's probably not because of simplification. How bad is the error estimate in the message? -- "SymbolicProcessing" -> 0 would prevent symbolic manipulation, but that is usually effective only when you know what Method strategy/rule to use. -- 2D integrals are already numerically hard, and >2D are really hard. It may simply be hard. -- You could increase MaxRecursion. $\endgroup$ Commented Sep 25, 2016 at 16:35
  • 1
    $\begingroup$ It will be easier to help you if you provide the complete code. If the function is too big and you can't reduce it, you can post the code on a website, such as pastebin.com. $\endgroup$ Commented Sep 25, 2016 at 19:22
  • $\begingroup$ Thanks, I have added more detail. I tried the "SymbolicProcessing" -> 0 and didn't work, so you were right that it was not that. $\endgroup$ Commented Sep 26, 2016 at 19:09
  • 1
    $\begingroup$ The largest value of the function is around 10^(-94703) within the range of values that you give and that maximum occurs at the maximum values of a and d and minimum values of w and u. So the range of values is not at all centered near the maximum value of the function. You'll likely need to rationalize all of the coefficients, center the range of values better, and scale the resulting value of the function. $\endgroup$ Commented Oct 26, 2016 at 20:38
  • 1
    $\begingroup$ Is the issue that in the definition of L you mean, for example, X[[1]] with double brackets and not X[1] with single brackets? $\endgroup$ Commented Oct 27, 2016 at 1:39