Formula For Speed Of Light In A Medium