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


(0.0).e        // Euler's number, a property of all floats
(0.0).e.pi     // pi, yep, all floats
(2.0).sqrt()   // square root
(2.0).log()    // natural (base e) logarithm
(2.0).log10()  // log base 10
(0.0).e.pow(x) // e^x
(-10.0).abs()  // absolute value, both floats and ints
x.pow(y)       // x raised to the y power
x.ceil()       // ceiling
x.floor()      // floor