# gsw_internal_energy

    specific internal energy of seawater

## Contents

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

## USAGE:

    internal_energy = gsw_internal_energy(SA,t,p)

## DESCRIPTION:

    Calculates the specific internal energy of seawater.

    Click for a more detailed description of specific
    internal energy.

## INPUT:

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

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

## OUTPUT:

    internal_energy (u)  =  specific internal energy                [ J/kg ]

## EXAMPLE:

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

    internal_energy = gsw_internal_energy(SA,t,p)

    internal_energy =

    1.0e+005 *

     1.149062384730930
     1.134265741706209
     0.908608185884215
     0.407243400571882
     0.271626660018474
     0.171825052266728

## AUTHOR:

    Trevor McDougall   [ help_gsw@csiro.au ]

## VERSION NUMBER:

    2.0 (22nd August, 2010)

## 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.

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