Title: The development of shaft friction and end bearing for piles in homogeneous and layered soils