Speed of light and sound in different mediums