ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
Maths.php
Go to the documentation of this file.
1
<?
php
2
18
function
hypo
($a, $b)
19
{
20
if
(abs($a) > abs($b)) {
21
$r
= $b / $a;
22
$r
= abs($a) * sqrt(1 +
$r
*
$r
);
23
} elseif ($b != 0) {
24
$r
= $a / $b;
25
$r
= abs($b) * sqrt(1 +
$r
*
$r
);
26
}
else
{
27
$r
= 0.0;
28
}
29
30
return
$r
;
31
}
$r
$r
Definition:
example_031.php:79
hypo
hypo($a, $b)
Pythagorean Theorem:.
Definition:
Maths.php:18
php
libs
composer
vendor
phpoffice
phpspreadsheet
src
PhpSpreadsheet
Shared
JAMA
utils
Maths.php
Generated on Thu Jan 16 2025 19:01:47 for ILIAS by
1.8.13 (using
Doxyfile
)