Message Boards Message Boards

0
|
72 Views
|
2 Replies
|
1 Total Likes
View groups...
Share
Share this post:
GROUPS:

Can Mathematica 12 or 13 Handle Infinite Integrals and Summations More Efficiently?

Posted 21 hours ago

I am working on a code that involves infinite integrals and infinite summations. When running it in Mathematica 11, the computation takes an extremely long time, and it seems the software is unable to provide an answer. I waited for over two hours without any results. I am unsure how to address this issue. Could upgrading to Mathematica 12 or 13 help resolve it? Here is my code for reference:

POSTED BY: Reza rho
2 Replies
Posted 18 hours ago

Your functions t[tau] and x[tau] depend on the value of a and you do not include a as an argument. Perhaps change those to t[a,tau] and x[a,tau]

The size of your terms rapidly decrease in your infinite summations and integrals. You might look at integrating and summing over -20 to 20 and -30 to 30 and -40 to 40 and see the results seem to get very close to each other and will not require infinite time to calculate. You might also increase the step size in the Table you are constructing for your ListLinePlot so that you can still see what you need, but do not take five times longer to complete.

POSTED BY: Bill Nelson

I don't know if my code works on Mathematica 11. Using ParallelTable uses all cores, code works faster.

POSTED BY: Mariusz Iwaniuk
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract