Help check: validate the help files on compilation against a derivated docbook schema
[scilab.git] / scilab / modules / elementary_functions / help / pt_BR / discrete / binomial.xml
index e919946..e22d25e 100644 (file)
  * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
  *
  -->
-<refentry version="5.0-subset Scilab" xml:id="binomial" xml:lang="en"
-          xmlns="http://docbook.org/ns/docbook"
-          xmlns:xlink="http://www.w3.org/1999/xlink"
-          xmlns:svg="http://www.w3.org/2000/svg"
-          xmlns:ns4="http://www.w3.org/1999/xhtml"
-          xmlns:mml="http://www.w3.org/1998/Math/MathML"
-          xmlns:db="http://docbook.org/ns/docbook">
+<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="binomial" xml:lang="en">
   <info>
     <pubdate>$LastChangedDate$</pubdate>
   </info>
-
   <refnamediv>
     <refname>binomial</refname>
-
     <refpurpose>probabilidades de distribuição binomial</refpurpose>
   </refnamediv>
-
   <refsynopsisdiv>
     <title>Seqüência de Chamamento</title>
-
     <synopsis>pr=binomial(p,n)</synopsis>
   </refsynopsisdiv>
-
   <refsection>
     <title>Parâmetros</title>
-
     <variablelist>
       <varlistentry>
         <term>pr</term>
-
         <listitem>
           <para>vetor linha com n+1 componentes </para>
         </listitem>
       </varlistentry>
-
       <varlistentry>
         <term>p</term>
-
         <listitem>
           <para>número real em [0,1] </para>
         </listitem>
       </varlistentry>
-
       <varlistentry>
         <term>n</term>
-
         <listitem>
           <para>um inteiro &gt;= 1</para>
         </listitem>
       </varlistentry>
     </variablelist>
   </refsection>
-
   <refsection>
     <title>Descrição</title>
-
     <para><literal>pr=binomial(p,n)</literal> retorna o vetor de probabilidade
     binomial, i.e. <literal>pr(k+1)</literal> é a probabilidade de
     <literal>k</literal> successos em <literal>n</literal> tentativas
     <literal>p</literal>. Em outras palavras : <literal>pr(k+1) =
     probability(X=k)</literal> , com X uma variável aleatória, segundo a
     distribuição B(n,p) , e numericamente :</para>
-
-    <programlisting role = ""><![CDATA[ 
+    <programlisting><![CDATA[ 
             / n \  k      n-k       / n \       n!
  pr(k+1) =  |   | p  (1-p)    com  |   |  = ---------
             \ k /                   \ k /    k! (n-k)!
  ]]></programlisting>
   </refsection>
-
   <refsection>
     <title>Exemplos</title>
-
     <programlisting role="example"><![CDATA[ 
 // primeiro exemplo
 n=10;p=0.3; clf(); plot2d3(0:n,binomial(p,n));
@@ -112,14 +90,15 @@ pr=Cnks.*horner(x.^(0:n).*(1-x)^(n:-1:0),p);
 pr-binomial(p,n)
  ]]></programlisting>
   </refsection>
-
   <refsection role="see also">
-<title>Ver Também</title>
-
+    <title>Ver Também</title>
     <simplelist type="inline">
-      <member><link linkend="cdfbin">cdfbin</link></member>
-
-      <member><link linkend="grand">grand</link></member>
+      <member>
+        <link linkend="cdfbin">cdfbin</link>
+      </member>
+      <member>
+        <link linkend="grand">grand</link>
+      </member>
     </simplelist>
   </refsection>
 </refentry>