PHP: sin - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

sinh round

Last updated: Sat, 27 Jan 2007

view this page in

# sin

(PHP 3, PHP 4, PHP 5)

sin -- Sine

## Description

float sin ( float arg )

sin() returns the sine of the `arg` parameter. The `arg` parameter is in radians.

Пример 1. sin() example

`<?php // Precision depends on your precision directive echo sin(deg2rad(60)); // 0.866025403 ... echo sin(60); // -0.304810621 ... ?>`

See also: asin(), cos(), tan(), and deg2rad().

add a note User Contributed Notes
sin
There are no user contributed notes for this page.
sinh round

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST