A beam of light of wavelength 569 nm traveling in air is incident on a slab of transparent material. The incident beam makes an angle of 58.5 degrees with the normal, and the refracted beam makes an angle of 22 degrees with the normal. Find the index of refraction of the material.