def surfaceTension(T, sTP):
    """
    surfaceTension(T, sTP)
    
    surfaceTension (dyne/cm) = A*(1-T/critT)^n
    
    Parameters
      T, temperature in Kelvin
      sTP, A=sTP[0], critT=sTP[1], n=sTP[2]
      A and n are regression coefficients, critT: critical temperature

    Returns
      surface tension in dyne/cm at T
    """
    return sTP[0]*(1-T/sTP[1])**sTP[2]