The affecting of demographic stochasticity and environmental stochasticity to population extinction