How to estimate the distance to the sun