I'm having trouble understanding this Mathematica syntax.
if I do
y[x] /. DSolve[{y'[x] == y[x], y[0] == 1}, y[x], x]
I'd expect that I now have a function $y(x) = e^x$, such that when I write
y[0] or even N[y[0]] that I should get 1, but Mathematica won't evaluate it and instead writes y[0]
Why? And how can I create a real mathematica function y[x] = e^x from the DSolve Function
% /. x -> 0– zhk May 17 '17 at 16:31y[x_] = Flatten[%]and then tryy[0]. – zhk May 17 '17 at 16:35y /. DSolve[{y'[x] == y[x], y[0] == 1}, y, x]? – Michael E2 May 17 '17 at 16:41