chamilo/chamilo-lms

View on GitHub
public/main/exercise/evalmathnotation.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

/* For licensing terms, see /license.txt */

require_once '../inc/global.inc.php';

echo '<pre>'.
get_lang('Summation:            +')."\n".
get_lang('Substraction:            -')."\n".
get_lang('Multiplication:            *')."\n".
get_lang('Division:            /')."\n".
get_lang('Exponentiation:            ^')."\n".
get_lang('Modulo:            %')."\n".
"\n".
get_lang('Square root:            sqrt(x)')."\n".
get_lang('Absolute value:            abs(x)')."\n".
get_lang('Natural logarithm:        ln(x)')."\n".
get_lang('Logarithm:            log(x)')."\n".
get_lang('E number:            e')."\n".
get_lang('Pi number:            pi')."\n".
"\n".
get_lang('Sine:                sin(x)')."\n".
get_lang('HyperbolicSine:                sin(x)h')."\n".
get_lang('Arcsine:            arcsin(x)')."\n".
get_lang('HyperbolicArcsine:            arcsin(x)h')."\n".
"\n".
get_lang('Cosine:                cos(x)')."\n".
get_lang('HyperbolicCosine:                cos(x)h')."\n".
get_lang('Arccosine:            arccos(x)')."\n".
get_lang('HyperbolicArccosine:            arccos(x)h')."\n".
"\n".
get_lang('Tangent:            tan(x)')."\n".
get_lang('HyperbolicTangent:            tan(x)h')."\n".
get_lang('Arctangent:            arctan(x)')."\n".
get_lang('HyperbolicArctangent:            arctan(x)h')."\n".
"\n".
get_lang('Cotangent:            cot(x)')."\n".
get_lang('HyperbolicCotangent:            cot(x)h')."\n".
get_lang('Arccotangent:            arccot(x)')."\n".
get_lang('HyperbolicArccotangent:            arccot(x)h')."\n".
"\n".
get_lang('Secant:                sec(x)')."\n".
get_lang('HyperbolicSecant:                sec(x)h')."\n".
get_lang('Arcsecant:            arcsec(x)')."\n".
get_lang('HyperbolicArcsecant:            arcsec(x)h')."\n".
"\n".
get_lang('Cosecant:                csc(x)')."\n".
get_lang('HyperbolicCosecant:                csc(x)h')."\n".
get_lang('Arccosecant:            arccsc(x)')."\n".
get_lang('HyperbolicArccosecant:            arccsc(x)h')."\n".
"\n".
'</pre>';