- #1
Pavkazz
- 2
- 0
Homework Statement
I'm using python to calculate the age of the universe, by working out the distmodulus for a set of galaxys (using the V and I bands) then working out the distance in parsecs and then hubbles constant etc... I keep getting values that are 10s of magnitudes out which I assume has something to do with my unit conversion.
Homework Equations
vrec = H0*Dgal.
5 log dpc − 5 + AV = µ + AV
The Attempt at a Solution
Below is my code to work out hubbles constant. My Distance mod is accurate [/B]