Click on "View" (at top of screen), then "Source" to find the JavaScript for these Mathematical functions.