def saltWaterSolubility(X, sWSP):
    """
    saltWaterSolubility(X, sWSP)

    saltWaterSolubility (ppm by wt) = 10**(A + B*X + C*X**2)
    
    Parameters
      X, concentration of NaCl in water at 25 Deg. C in ppm by wt
      sWSP, A=sWSP[0], B=sWSP[1], C=sWSP[2]
      A, B, and C are regression coefficients  

    Returns
      salt water solubility in ppm by weight at X
    """
    return 10**(sWSP[0] + sWSP[1]*X + sWSP[2]*X**2)