怎样输入一些复杂的函数啊,比如三角函数cos,对数函数等等
import math x = float(input("请输入x的值:")) result = math.cos(65 / 180 * math.pi) + (20 * x + math.exp(x)) / pow(1+ pow(x, 4), 0.5) - math.log(6.5 * x) print("f(x)的值为:", result)