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
$\endgroup$y[x_] = Flatten[%]
and then tryy[0]
. $\endgroup$y /. DSolve[{y'[x] == y[x], y[0] == 1}, y, x]
? $\endgroup$