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


echo $(( exp(1) ))      # e
echo $(( acos(-1) ))    # PI
x=5  
echo $(( sqrt(x) ))     # square root
echo $(( log(x) ))      # logarithm base e
echo $(( log2(x) ))     # logarithm base 2
echo $(( log10(x) ))    # logarithm base 10
echo $(( exp(x) ))      # exponential
x=-42 
echo $(( abs(x) ))      # absolute value
x=-5.5 
echo $(( floor(x) ))    # floor
echo $(( ceil(x) ))     # ceiling
x=10 y=3 
echo $(( pow(x,y) ))    # power