Investigating surface tension of liquids