Extension:MathFunctions

What can this extension do?
MathFunctions enhances MediaWiki parser with mathematical functions sin, cos, tan, sqrt and others. This extension also adds ability to convert numbers between numerical bases and ability convert radians to deggress and reverse.

Usage
Just use as normal parser functions extensions. E.g.  or .

Geo distance
On October 29, 2008 the Geo distance function was added (thanks to Pnelnik). This function calculates distance between two points on the Earth. Result is in kilometres.



Download instructions
Just copy the code from code section and paste it to a file, that save to your extensions directory as MathFunctions.php.

Installation
To install this extension, add the following at the end (but before closing delimiter ?>) of your LocalSettings.php: