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


 
(exp 1)     ; e (Euler's number)
pi          ; pi constant
(sqrt x)    ; square root: works for negative reals and complex
(log x)     ; natural logarithm: works for negative reals and complex
(log x 10)  ; logarithm base 10
(exp x)     ; exponential
(abs x)     ; absolute value: result exact if input exact: (abs -1/3) -> 1/3.
(floor x)   ; floor: restricted to real, two valued (second value gives residue)
(ceiling x) ; ceiling: restricted to real, two valued (second value gives residue)
(expt x y)  ; power
 