note 84505 added to function.pow
| From: | MattDudley at osu1 dot php dot net | Date: | Wed, 16 Jul 2008 22:14:53 +0000 |
| Subject: | note 84505 added to function.pow | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-141596@lists.php.net to get a copy of this message | ||
Calculate wind chill based on the National Weather Service formula.
$temp = 25;
$wind_speed_mph = 6;
$wind_chill = 35.74+(.6215*$temp_f)-(35.75*(pow($wind_speed_mph,
0.16)))+(.4275*$temp_f*(pow($wind_speed_mph, 0.16)));
Value only valid when the temp is 45 or below.... I used this with a weather script I wrote that
reads an xml file. They don't provide wind chill.
----
Server IP: 64.71.164.2
Probable Submitter: 65.107.72.130
----
Manual Page -- http://www.php.net/manual/en/function.pow.php
Edit -- https://master.php.net/note/edit/84505
Del: integrated -- https://master.php.net/note/delete/84505/integrated
Del: useless -- https://master.php.net/note/delete/84505/useless
Del: bad code -- https://master.php.net/note/delete/84505/bad+code
Del: spam -- https://master.php.net/note/delete/84505/spam
Del: non-english -- https://master.php.net/note/delete/84505/non-english
Del: in docs -- https://master.php.net/note/delete/84505/in+docs
Del: other reasons-- https://master.php.net/note/delete/84505
Reject -- https://master.php.net/note/reject/84505
Search -- https://master.php.net/manage/user-notes.php