add functions

parent 8fadc5a0
import math
def fn_sin(x: float) -> float:
return math.sin(x)
def fn_cos(x: float) -> float:
return math.cos(x)
def fn_ln(x: float) -> float:
return math.log(x)
def fn_sqrt(x: float) -> float:
return math.sqrt(x)
def fn_square(x: float) -> float:
return x ** 2
def fn_cube(x: float) -> float:
return x ** 3
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment