1
vote
1answer
97 views

how to reduce the time to calculate triple integral

i want to evaluate the following integral, but it takes 15 min to do it. i must reduce the time to calculate it, i have to do a table and create a graph, but takes too long. anyone have an idea ? ...
0
votes
0answers
64 views

Complex Integration Optimization

The following code culminates in plots calculated for each value of t as given below. I have tried compiling one of the functions and adjusting the precision of both the integration and the plotting ...
3
votes
3answers
399 views

Definite integral takes a very long time

I'm trying to integrate the following function: $$ r_e=\int_0^z\frac{dz}{\sqrt{\Omega_m(1+z)^3+\Omega_\Lambda}} $$ where $\Omega_\Lambda=1-\Omega_M$ and both $\Omega_\Lambda$ and $\Omega_M$ are real ...
2
votes
1answer
339 views

Speeding up a slow indefinite integral

I have found an alternative way to express an old solution: ...