# gsw_internal_energy_CT_exact

    specific internal energy of seawater

## Contents

- USAGE:
- DESCRIPTION:
- INPUT:
- OUTPUT:
- EXAMPLE:
- AUTHOR:
- VERSION NUMBER:
- REFERENCES:

## USAGE:

    internal_energy_CT_exact = gsw_internal_energy_CT_exact(SA,CT,p)

## DESCRIPTION:

    Calculates the specific internal energy of seawater.

    Note that this function uses the full Gibbs function.  There is an
    alternative to calling this function, namely gsw_internal_energy(SA,CT,p),
    which uses the computationally efficient 48-term expression for density
    in terms of SA, CT and p (McDougall et al., 2013).

    Click for a more detailed description of specific
    internal energy.

## INPUT:

    SA  =  Absolute Salinity                                        [ g/kg ]
    CT  =  in-situ temperature (ITS-90)                            [ deg C ]
    p   =  sea pressure                                             [ dbar ]
           ( i.e. absolute pressure - 10.1325 dbar )

    SA & CT need to have the same dimensions.
    p may have dimensions 1x1 or Mx1 or 1xN or MxN, where SA & CT are MxN.

## OUTPUT:

    internal_energy_CT_exact = specific internal energy, u          [ J/kg ]

## EXAMPLE:

    SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
    CT = [28.7856; 28.4329; 22.8103; 10.2600;  6.8863;  4.4036;]
    p =  [     10;      50;     125;     250;     600;    1000;]

    internal_energy_CT_exact = gsw_internal_energy_CT_exact(SA,CT,p)

    internal_energy_CT_exact =

    1.0e+005 *

       1.148091577191008
       1.134013145674121
       0.909571141535849
       0.408593072626607
       0.273985278505536
       0.175019411572283

## AUTHOR:

    Trevor McDougall            [ help@teos-10.org ]

## VERSION NUMBER:

    3.02 (17th November, 2012)

## REFERENCES:

    IOC, SCOR and IAPSO, 2010: The international thermodynamic equation of
     seawater - 2010: Calculation and use of thermodynamic properties.
     Intergovernmental Oceanographic Commission, Manuals and Guides No. 56,
     UNESCO (English), 196 pp.  Available from the TEOS-10 web site.
      See Eqn. (2.11.1) of this TEOS-10 Manual.

    McDougall T.J., P.M. Barker, R. Feistel and D.R. Jackett, 2013:  A
     computationally efficient 48-term expression for the density of
     seawater in terms of Conservative Temperature, and related properties
     of seawater.  To be submitted to J. Atm. Ocean. Technol., xx, yyy-zzz.

    The software is available from http://www.TEOS-10.org