Starting from the centre of the earth having radius R, the variation of g (acceleration due to gravity) is shown by which of the following options