# gsw_t_maxdensity_exact

    in-situ temperature of maximum density of seawater

## Contents

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

## USAGE:

    t_maxdensity_exact = gsw_t_maxdensity_exact(SA,p)

## DESCRIPTION:

    Calculates the in-situ temperature of maximum density of seawater.
    This function returns thein-situ temperature at which the density
    of seawater is a maximum, at given Absolute Salinity, SA, and sea
    pressure, p (in dbar).

    Click for a more detailed description of calculating the
    in-situ temperature of maximum density.

## INPUT:

    SA =  Absolute Salinity                                         [ g/kg ]
    p  =  sea pressure                                              [ dbar ]
          ( i.e. absolute pressure - 10.1325 dbar )

    p may have dimensions 1x1 or Mx1 or 1xN or MxN, where SA is MxN.

## OUTPUT:

    t_maxdensity_exact  =  in-situ temperature at which the density of
                           seawater is a maximum for given Absolute
                           Salinity and pressure.                 [ deg C ]

## EXAMPLE:

    SA = [34.7118; 34.8915; 35.0256; 34.8472; 34.7366; 34.7324;]
    p =  [     10;      50;     125;     250;     600;    1000;]

    t_maxdensity_exact = gsw_t_maxdensity_exact(SA,p)

    t_maxdensity_exact =

      -3.725008913916380
      -3.853714292562061
      -4.051433177642653
      -4.295542513200469
      -5.074746618871896
      -6.011701971231014

## AUTHOR:

    Trevor McDougall & Paul Barker                      [ 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 section 3.42 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