Withdrawal resistance of a pile type foundation