Oct-21-2020, 07:38 PM
I tried changing "cos" to "log10" and now it works.
Thank you!
Thank you!
Output:import math
def f1(x):
def f2(x):
def f3(x):
return math.log10(x)
return f3(x) * math.sin(x)
return math.sqrt(f2(x))
f1(3)0.25948286130604603