Exemple des fonctions mathématiques(hypoténus, puissance, etc)

Author:

 mathématique,
Download

<html>
<head>
<title> Fonction Mathématique</title>
</head>
<body>
<?php
$a = bcmul(3.14, bcpow(10, 320));
$b = bcmul(2.15, bcpow(10, 320));

echo $a."<br/>";
echo $b."<br/>";

$a_puissance = bcpow($a, 2);
$b_puissance = bcpow($b, 2);

echo $a_puissance."<br/>";
echo $b_puissance."<br/>";

$hypotenuse = bcsqrt(bcadd($a_puissance, $b_puissance));

print $hypotenuse;
?>

</body>
</html>

Leave a Reply

Your email address will not be published. Required fields are marked *


5 − three =