Static Equilibrium of Granular Materials