standard deviation and mode
<p>i finished the standard deviation...but there are still discrepancies i can't resolve...when i calculate the standard deviation manually..the answer is different from the output of my system.. >.&lt;</p>

<p>while for the mode..i used an array..this is my code:</p>

<pre><code>$sample = array($one[$ctr],$two[$ctr],$three[$ctr],$four[$ctr],$five[$ctr],$six[$ctr],$seven[$ctr],$eight[$ctr],$nine[$ctr],$ten[$ctr],$fda[$ctr]);

rsort($sample);
$holder = $sample[0];
//$holder = $mode;
</code></pre>

<p>the sorting is successful..and i can get the highest number...but..i need to print the value of $holder to a table using fpdf....</p>

<p>but..when i try to run the system..the value of $holder...is not printed in the table...any idea on how i can print the $holder's value..or..why the value is not visible in the table?? >.&lt; thanks again... :)</p>
