Numerical study of strengths of spot-welded joints of steel