The Influence of Equation of State on the Giant Impact Simulations