The value of acceleration due to gravity at depth d from the surface of the earth ( or at a general distance r=(R-d) from earth centre) is given by
Where
g=Value of acceleration due to gravity at the surface of the earth
R= radius of the earth
Study 40% syllabus and score up to 100% marks in JEE