Photonic crystals is a low-loss periodic medium with periodic changes of refractive index, which is used to control the light. Theoretically, Photonic crystals can be studied using Maxwell equations, but it’s difficult to find a general analytical solution for these equations, since we are dealing with vectors. So we resort to the numerical solutions for Maxwell’s equations to calculate the reflection and transmission coefficients and the Photonic band gap.