A cylindrical soil sample fails under an axial vertical stress of 160 kN/m^2, when it is laterally unconfined. The failure plane makes an angle of 50 degrees with the horizontal. Calculate the value of cohesion and the angle of internal friction of the soil.