how can i divide numerator by any similar to 0.0110932 in PHP?
<p>I'm getting error like PHP </p>

<blockquote>
  <p>Warning: Division by zero error.</p>
</blockquote>

<p>I'm still and want to calculate some problems. If you can tell me, how can calculate antilog / log inverse with examples, I'll be more satisfied.</p>

<pre><code>&lt;?
    if(isset($_POST['submit'])) 
    { 
       $P=$_POST['P'];  // P=100000
       $rate=$_POST['rate']; // rate = 10.5
       $R=($rate/100);
       $N=$_POST['N']; // N = 78
       echo $P ."&lt;br&gt;" ;
       echo $R ."&lt;br&gt;" ;
       echo $N ."&lt;br&gt;" ;
       $NEW=($R/12);   // NEW = .00875
       $aa = (1+($NEW)); // aa = 1.00875
       $ab = bcpow('$aa', '$N',16); // ab = 1.9729529246182467
       $ac = ($ab-1); // ac = 0.9729529246182467
       $ad = bcdiv('$ab', '$ac', 3); // Div by Zero Error 
       $M = ($P*$NEW) *($ad);
       echo "The Installment is : " . $M . "&lt;br&gt;";
    }
?&gt;
</code></pre>
