1. Limited time only! Sign up for a free 30min personal tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Calculate Comoving distance as a function of parameters

  1. Mar 16, 2017 #1
    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. jcsd
  3. Mar 16, 2017 #2

    phyzguy

    User Avatar
    Science Advisor

    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



Similar Discussions: Calculate Comoving distance as a function of parameters
Loading...