## derive x at f(x) = 5 def g(x) : value = (f(x) - 5.00) return(value) scipy.optimize.newton(g, 0.00)