I'm currently trying to write a program for error propagation. For this reason I need the partial derivative.
Function = input("Function: ")
#Function should look something like this: u**2 + 3*x/(v+w)
print ("s = "f"{Function}")
#Derivate by u
k = float(Function.derivatives[u])
print("Partial Derivative by u = "f"{k}")
When I try to run this, there's an error message: "str function has no attribute 'derivatives', but when I try to change the first line to:
Function = float(input("Function: "))
there's an error message as well, it says it can't be transformed to a floating point number.
I'm still quite a beginner, excuse me if my question is too banal.