cvs: phpdoc-pl /reference/math/functions sin.xml
| From: | Leszek Krupinski | Date: | Sun, 23 Jun 2002 00:55:13 +0000 |
| Subject: | cvs: phpdoc-pl /reference/math/functions sin.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969346915@lists.php.net to get a copy of this message | ||
leszek Sat Jun 22 20:55:13 2002 EDT
Modified files:
/phpdoc-pl/reference/math/functions sin.xml
Log:
[qrak] Math update
Index: phpdoc-pl/reference/math/functions/sin.xml
diff -u phpdoc-pl/reference/math/functions/sin.xml:1.6
phpdoc-pl/reference/math/functions/sin.xml:1.7
--- phpdoc-pl/reference/math/functions/sin.xml:1.6 Wed Jun 19 21:43:13 2002
+++ phpdoc-pl/reference/math/functions/sin.xml Sat Jun 22 20:55:13 2002
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-2"?>
-<!-- EN-Revision: 1.2 Maintainer: qrak Status: ready -->
-<!-- $Revision: 1.6 $ -->
+<!-- EN-Revision: 1.4 Maintainer: qrak Status: ready -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.sin">
<refnamediv>
<refname>sin</refname>
- <refpurpose>Sinus</refpurpose>
+ <refpurpose>Oblicza sinus k±ta</refpurpose>
</refnamediv>
<refsect1>
<title>Opis</title>
@@ -13,10 +13,27 @@
<void/>
</methodsynopsis>
<para>
- Zwraca sinus k±ta <parameter>argument</parameter> podanego w radianach.
+ Funkcja <function>sin</function>
+ zwraca sinus k±ta <parameter>argument</parameter> podanego w radianach.
</para>
<para>
- Patrz tak¿e: <function>cos</function> i <function>tan</function>.
+ <informalexample>
+ <programlisting>
+<![CDATA[
+<?php
+
+//Precyzja jest zale¿na od dyrektyw konfiguracyjnych
+print sin(deg2rad(60)); // 0.866025403 ...
+print sin(60); // -0.304810621 ...
+
+?>
+]]>
+ </programlisting>
+ </informalexample>
+ </para>
+ <para>
+ Patrz tak¿e: <function>asin</function>, <function>cos</function>,
+ <function>tan</function> i <function>deg2rad</function>.
</para>
</refsect1>
</refentry>