|
Ioniseur niveau ".$mine_h."
";
$a=$mine_h+5;
$c=$mine_h-2;
echo 'Niveau | Production par heure | Consommation énergie | ';
for ($c;$c<$a;$c++) {
$b=ceil(($c*12+(exp($c*0.32)*10)));
$h=ceil(($c*12+(exp($c*0.32)*10))) - ceil((($c-1)*12+(exp(($c-1)*0.32)*10)));
$p=ceil((exp($c*0.31)*10));
$g=ceil((exp($c*0.31)*10)) - ceil((exp(($c-1)*0.31)*10));
echo ''.$c.' | '.$b.' (+ '.$h.') | '.$p.' (+ '.$g.') | ';
}
echo"
|
";
?>