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


// e:
print(M_E);
 
// π:
print(M_PI);
 
// square root:
let five = sqrt(25);
 
// logarithm
// natural:
let one = log(M_E);
// base-2:
let six = log2(64);
// base-10
let three = log10(1000);
 
// exponential
let e_cubed = exp(3);
 
// absolute value
let ten = abs(-10);
 
// floor
let seven = floor(7.8);
 
// ceiling
let four = ceil(3.2);
 
// power
let eighty_one = pow(3, 4);