note 52334 added to function.pow

From: Date: Thu, 28 Apr 2005 07:21:13 +0000
Subject: note 52334 added to function.pow
Groups: php.notes 
Request: Send a blank email to php-notes+get-88672@lists.php.net to get a copy of this message
For those whose mathematical skills are deteriorating as quickly as mine, a reminder of reversing a pow() calculation. In my case, knowing 2^3 is 8, I needed to use the 2 and 8 to get to 3. Here are the three calculations for getting the remaining value given two known values, the third solving my particular problem. <?= pow(2,3) ?> = 8 <?= pow(8,1/3) ?> = 2 <?= log(8)/log(2) ?> = 3 ---- Manual Page -- http://www.php.net/manual/en/function.pow.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+52334 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52334&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52334&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52334&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52334&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52334&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+52334&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#88672) next »