Starting from the centre of the earth having radius R