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


 
Float.e
Float.pi
9f.sqrt
9f.log      // natural logarithm
9f.log10    // logarithm to base 10
9f.exp      // exponentiation
(-3f).abs   // absolute value, note bracket
3.2f.floor  // nearest Int smaller than this number
3.2f.ceil   // nearest Int bigger than this number
3.2f.round  // nearest Int
3f.pow(2f)  // power
 