Task

Show how to use the following math constants and functions in your language   (if not available, note it):

   e   (base of the natural logarithm)
   



π


{\displaystyle \pi }


   square root
   logarithm   (any base allowed)
   exponential   (ex )
   absolute value   (a.k.a. "magnitude")
   floor   (largest integer less than or equal to this number--not the same as truncate or int)
   ceiling   (smallest integer not less than this number--not the same as round up)
   power   (xy )


Related task

   Trigonometric Functions


using System;
 
class Program {
    static void Main(string[] args) {        
        Console.WriteLine(Math.E); //E
        Console.WriteLine(Math.PI); //PI
        Console.WriteLine(Math.Sqrt(10)); //Square Root
        Console.WriteLine(Math.Log(10)); // Logarithm
        Console.WriteLine(Math.Log10(10)); // Base 10 Logarithm
        Console.WriteLine(Math.Exp(10)); // Exponential
        Console.WriteLine(Math.Abs(10)); //Absolute value
        Console.WriteLine(Math.Floor(10.0)); //Floor
        Console.WriteLine(Math.Ceiling(10.0)); //Ceiling
        Console.WriteLine(Math.Pow(2, 5)); // Exponentiation
    }
}