The magnetic field of an electromagnetic wave in a substance is given by B=(2×10−6T)cos[π(0.04x+107t)] The refractive index of the substance is
Comparing the given equation with standard EM wave equation,
B=B0cos(ωt+kx),
We get, ω=π×107rad/s
k=π×(0.04)m−1
Speed of EM wave = v=ωk=2.5×108m/s
Refractive index of substance =cv=3×1082.5×108
=1.2