Formula of speed of light in core?

Can you answer this question?