Clear["Global`*"] eq[x] = f'[x] == 1/x s[x] = DSolve[eq[x], f[x], x] Print[Evaluate[s[1]]] Evaluate[eq[1]]
How to evaluate a function at 1? The code does not produce a number.
Is that not quite what I said, apart from my adding boundary conditions? I made up the boundary conditions so that Steve would get a number as he required.
Best wishes,
Marco
Isn't this simply
In[4]:= DSolve[f'[x] == 1/x, f[x], x] /. x -> 1 Out[4]= {{f[1] -> C[1]}}