@@ -0,0 +1,1078 @@
+/*%0A * This snippet uses some useful Math functions.%0A *%0A * Usage:%0A * - compile: javac MathFunctions.java%0A * - execute: java MathFunctions%0A */%0A%0Apublic class MathFunctions %7B%0A%0A%09/**%0A%09 * @param args%0A%09 */%0A%09public static void main(String%5B%5D args) %7B%0A%09%09%0A%09%09System.out.println( Math.PI );%0A%09%09%0A%09%09System.out.println( Math.floor(1.99) );%0A%09%09System.out.println( Math.ceil(1.01) );%0A%09%09%0A%09%09System.out.println( Math.round(1.4) );%0A%09%09System.out.println( Math.round(1.5) );%0A%09%09System.out.println( Math.round(1.6) );%0A%09%09%0A%09%09System.out.println( Math.abs(1.5) );%0A%09%09%0A%09%09System.out.println( Math.cos(1.0) );%0A%09%09System.out.println( Math.sin(1.0) );%0A%09%09System.out.println( Math.tan(1.0) );%0A%09%09%0A%09%09System.out.println( Math.exp(1.0) );%0A%09%09System.out.println( Math.log(1.0) );%0A%09%09System.out.println( Math.log10(1.0) );%0A%09%09%0A%09%09System.out.println( Math.max(1, 2) );%0A%09%09System.out.println( Math.min(1, 2) );%0A%09%09%0A%09%09System.out.println( Math.pow(3, 2) );%0A%09%09System.out.println( Math.sqrt(9) );%0A%09%09%0A%09%09System.out.println( Math.random() );%0A%09%09%0A%09%09System.out.println( Math.toDegrees(1.0) );%0A%09%09System.out.println( Math.toRadians(90.0) );%0A%09%7D%0A%0A%7D%0A

Add some snippets (Java).