# Calculate Comoving distance as a function of parameters

Tags:
1. Mar 16, 2017

### QFT25

1. The problem statement, all variables and given/known data
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

2. Relevant 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}]

3. 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?

2. Mar 16, 2017

### phyzguy

Why not use NIntegrate?

Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted