note 40792 added to function.cos

From: Date: Mon, 15 Mar 2004 05:59:24 +0000
Subject: note 40792 added to function.cos
Groups: php.notes 
Request: Send a blank email to php-notes+get-66841@lists.php.net to get a copy of this message
Here's a simple function to get the cos of an angle given in degrees # cos from deg function dcos ($arg) { return (sin(deg2rad($arg))); } The same will work for sin and tan too. ---- Manual Page -- http://www.php.net/manual/en/function.cos.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+40792 Delete -- http://master.php.net/manage/user-notes.php?action=delete+40792&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+40792&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#66841) next »