note 85003 deleted from function.cos by hholzgra

From: Date: Thu, 02 Aug 2012 15:32:11 +0000
Subject: note 85003 deleted from function.cos by hholzgra
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-189873@lists.php.net to get a copy of this message
Note Submitter: bruha at las wegos dot net ---- Another way to figure out a triangle (more efficient) <?php $a = 10; // a $b = 15; // b $angle = 45; // angle opposite side c $c = (sqrt(pow($a, 2) + pow($b, 2) - $a * $b * cos(deg2rad($angle)) * 2)); // side c = 10.613894770933 ?> yes im good arent i?

« previous php.notes (#189873) next »