Finding the optimal installation angle of earth rods to reduce electrode resistance