I'm new to Mathematica and am using it for algebraic manipulation.
I'm trying to figure out how to replace a variable in a user-defined function. I defined a derivative function like this:
f'[x_] := 1/h (f[Subscript[x, 0] + h] - f[Subscript[x, 0]]) -h/2f''[Subscript[x, 0]] - h^2/6 f'''[Subscript[x, 0]]
That works fine. However, now I want to substitute
h. I tried:
but that didn't work. Any help would be appreciated.