mathematical functions

here are some mathematical functions. please check if they work, I dont't know, just wanted to be helpful^^