FUNCTION  fCosmoDl

Returns the luminosity distance at a given redshift.

Parameters:
  • @z float: redshift
  • @OmegaM float: matter density. If set as DEFAULT, then 0.27891507
  • @OmegaL float: dark energy density. If set as DEFAULT, then 0.721
  • @OmegaR float: radiation density. If set as DEFAULT, then 8.493e-5
  • @omega0 float: dark energy state equation. If set as DEFAULT, then -1
  • @h_0 float: (hubble constant[Km/s/MPc])/(100[Km/s/MPc]). If set as DEFAULT, then 0.701 Reference: http://lambda.gsfc.nasa.gov/product/map/dr3/pub_papers/fiveyear/cosmology/wmap_5yr_cosmo.pdf
  • returns Dl float: luminosity distance in MPc.
    select dbo.fCosmoDl(0.1,0.27891507,0.721,8.493e-5,-1,0.701); select dbo.fCosmoDl(0.1,DEFAULT,DEFAULT,DEFAULT,DEFAULT,DEFAULT)
    return 460.365188862815 and 460.365188862815
    see also fCosmoZfromDl
  • Input and output parameters

    nametypelengthinoutpnum
     float8input0
    @zfloat8input1
    @OmegaMfloat8input2
    @OmegaLfloat8input3
    @OmegaRfloat8input4
    @omega0float8input5
    @h_0float8input6