ILIAS
eassessment Revision 61809
◀ ilDoc Overview
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
Examples
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Groups
Pages
Maths.php
Go to the documentation of this file.
1
<?php
14
function
hypo
($a, $b) {
15
if
(abs($a) > abs($b)) {
16
$r = $b / $a;
17
$r = abs($a) * sqrt(1 + $r * $r);
18
} elseif ($b != 0) {
19
$r = $a / $b;
20
$r = abs($b) * sqrt(1 + $r * $r);
21
}
else
{
22
$r = 0.0;
23
}
24
return
$r;
25
}
// function hypo()
26
27
Services
Excel
PHPExcel
1.7.6
Classes
PHPExcel
Shared
JAMA
utils
Maths.php
Generated on Mon Apr 25 2016 19:01:27 for ILIAS by
1.8.1.2 (using
Doxyfile
)