The electric field is E(x,t)=25sin(2.0×1015t−107x) V/m.
This is in the standard form E=E0sin(ωt−kx) where angular frequency ω=2.0×1015 rad/s and wave number k=107 rad/m.
The speed of the wave in the medium is v=kω=1072.0×1015=2.0×108 m/s.
The refractive index is defined as n=vc where c=3.0×108 m/s is the speed of light in vacuum.
Therefore, n=2.0×1083.0×108=1.5