~ubuntu-branches/ubuntu/raring/scilab/raring-proposed

« back to all changes in this revision

Viewing changes to modules/elementary_functions/help/en_US/trigonometry/tan.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-30 14:42:38 UTC
  • mfrom: (1.4.7)
  • Revision ID: package-import@ubuntu.com-20120830144238-c1y2og7dbm7m9nig
Tags: 5.4.0-beta-3-1~exp1
* New upstream release
* Update the scirenderer dep
* Get ride of libjhdf5-java dependency

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 *
12
12
 -->
13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" xmlns:scilab="http://www.scilab.org" version="5.0-subset Scilab" xml:id="tan" xml:lang="en">
14
 
  <refnamediv>
15
 
    <refname>tan</refname>
16
 
    <refpurpose>tangent</refpurpose>
17
 
  </refnamediv>
18
 
  <refsynopsisdiv>
19
 
    <title>Calling Sequence</title>
20
 
    <synopsis>[t]=tan(x)</synopsis>
21
 
  </refsynopsisdiv>
22
 
  <refsection>
23
 
    <title>Arguments</title>
24
 
    <variablelist>
25
 
      <varlistentry>
26
 
        <term>x</term>
27
 
        <listitem>
28
 
          <para>vector or matrix</para>
29
 
        </listitem>
30
 
      </varlistentry>
31
 
      <varlistentry>
32
 
        <term>t</term>
33
 
        <listitem>
34
 
          <para>vector or matrix</para>
35
 
        </listitem>
36
 
      </varlistentry>
37
 
    </variablelist>
38
 
  </refsection>
39
 
  <refsection>
40
 
    <title>Description</title>
41
 
    <para>
42
 
      The elements of <literal>t</literal> are the tangent of the elements
43
 
      of <literal>x</literal>.
44
 
    </para>
45
 
  </refsection>
46
 
  <refsection>
47
 
    <title>Sample</title>
48
 
    <scilab:image>
49
 
      x=(-%pi/2)+0.01:0.01:(%pi/2)-0.01;
50
 
      plot(x,tan(x))
51
 
    </scilab:image>
52
 
  </refsection>
53
 
  <refsection>
54
 
    <title>Examples</title>
55
 
    <programlisting role="example"><![CDATA[ 
 
14
    <refnamediv>
 
15
        <refname>tan</refname>
 
16
        <refpurpose>tangent</refpurpose>
 
17
    </refnamediv>
 
18
    <refsynopsisdiv>
 
19
        <title>Calling Sequence</title>
 
20
        <synopsis>[t]=tan(x)</synopsis>
 
21
    </refsynopsisdiv>
 
22
    <refsection>
 
23
        <title>Arguments</title>
 
24
        <variablelist>
 
25
            <varlistentry>
 
26
                <term>x</term>
 
27
                <listitem>
 
28
                    <para>vector or matrix</para>
 
29
                </listitem>
 
30
            </varlistentry>
 
31
            <varlistentry>
 
32
                <term>t</term>
 
33
                <listitem>
 
34
                    <para>vector or matrix</para>
 
35
                </listitem>
 
36
            </varlistentry>
 
37
        </variablelist>
 
38
    </refsection>
 
39
    <refsection>
 
40
        <title>Description</title>
 
41
        <para>
 
42
            The elements of <literal>t</literal> are the tangent of the elements
 
43
            of <literal>x</literal>.
 
44
        </para>
 
45
    </refsection>
 
46
    <refsection>
 
47
        <title>Sample</title>
 
48
        <scilab:image>
 
49
            x=(-%pi/2)+0.01:0.01:(%pi/2)-0.01;
 
50
            plot(x,tan(x))
 
51
        </scilab:image>
 
52
    </refsection>
 
53
    <refsection>
 
54
        <title>Examples</title>
 
55
        <programlisting role="example"><![CDATA[ 
56
56
x=[1,%i,-1,-%i]
57
57
tan(x)
58
58
sin(x)./cos(x)
59
59
 ]]></programlisting>
60
 
  </refsection>
61
 
  <refsection role="see also">
62
 
    <title>See Also</title>
63
 
    <simplelist type="inline">
64
 
      <member>
65
 
        <link linkend="atan">atan</link>
66
 
      </member>
67
 
      <member>
68
 
        <link linkend="tanm">tanm</link>
69
 
      </member>
70
 
    </simplelist>
71
 
  </refsection>
 
60
    </refsection>
 
61
    <refsection role="see also">
 
62
        <title>See Also</title>
 
63
        <simplelist type="inline">
 
64
            <member>
 
65
                <link linkend="atan">atan</link>
 
66
            </member>
 
67
            <member>
 
68
                <link linkend="tanm">tanm</link>
 
69
            </member>
 
70
        </simplelist>
 
71
    </refsection>
72
72
</refentry>