Calculate Comoving distance as a function of parameters

  • #1
25
3

Homework Statement


I'm doing research with a Professor and I'm constructing a likelihood function which has parameters the density parameters found in the Friedman equation found using Massive Gravity Action H

Homework Equations


H(z)^2=a + b (1 + z) + c (1 + z)^2 + d (1 + z)^3 + r (1 + z)^4 ignoring units the integral I need to evaluate for the comoving distance is

Integrate[ 1/Sqrt[a + b (1 + z) + c (1 + z)^2 + d (1 + z)^3 + r (1 + z)^4], {z, 0, Z}]

The Attempt at a Solution



I put this into Mathematica and it can't do it. If I expand it out as a Taylor series I can do it. Is there any other way to evaluate this integral as a function of the parameters and Z? [/B]
 

Answers and Replies

  • #2
phyzguy
Science Advisor
4,657
1,587
Why not use NIntegrate?
 

Related Threads on Calculate Comoving distance as a function of parameters

Replies
2
Views
2K
Replies
1
Views
1K
  • Last Post
Replies
1
Views
1K
  • Last Post
Replies
1
Views
626
  • Last Post
Replies
2
Views
1K
  • Last Post
Replies
2
Views
2K
Replies
1
Views
783
Replies
1
Views
794
Replies
1
Views
2K
Replies
2
Views
1K
Top