<!-- Converted to DocBook/SGML by Kevin Conder -->
<refentry id="cosh">
  <refmeta>
    <refentrytitle>cosh</refentrytitle>
  </refmeta>
 
  <refnamediv>
    <refname>cosh</refname>

    <refpurpose>
      Performs a hyperbolic cosine function.
      <indexterm id="IndexCosh"><primary>cosh</primary></indexterm>
    </refpurpose>
  </refnamediv>

  <refsect1>
    <title>Description</title>
    <para>
      Returns the hyperbolic cosine of <emphasis>x</emphasis> (<emphasis>x</emphasis> in radians).
    </para>
  </refsect1>
 
  <refsect1>
    <title>Syntax</title>
    <synopsis><command>cosh</command>(x) (no rate restriction)</synopsis>
  </refsect1>

  <refsect1>
    <title>Examples</title>
    <para>
      Here is an example of the cosh opcode. It uses the files <ulink url="examples/cosh.orc"><citetitle>cosh.orc</citetitle></ulink> and <ulink url="examples/cosh.sco"><citetitle>cosh.sco</citetitle></ulink>.

      <example>
        <title>Example of the cosh opcode.</title>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/cosh.orc" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>

        <programlisting>
<inlinemediaobject>
            <imageobject>
              <imagedata fileref="examples/cosh.sco" format="linespecific">
            </imageobject>
          </inlinemediaobject>
        </programlisting>
      </example>

      Its output should include lines like this:
      <screen>
instr 1:  i1 = 1.543
      </screen>
    </para>
  </refsect1>

  <refsect1>
    <title>See Also</title>
    <para>
      <link linkend="cos"><citetitle>cos</citetitle></link>,
      <link linkend="cosinv"><citetitle>cosinv</citetitle></link>,
      <link linkend="sin"><citetitle>sin</citetitle></link>,
      <link linkend="sinh"><citetitle>sinh</citetitle></link>,
      <link linkend="sininv"><citetitle>sininv</citetitle></link>,
      <link linkend="tan"><citetitle>tan</citetitle></link>,
      <link linkend="tanh"><citetitle>tanh</citetitle></link>,
      <link linkend="taninv"><citetitle>taninv</citetitle></link>
    </para>
  </refsect1>
</refentry>
