I entered a command incorrectly as follows:
DSolve[{y'[x]=y[x]},y[x],x]
I am now experiencing:
DSolve[{y'[x] == y[x]}, y[x], x]
During evaluation of In[26]:= DSolve::deqn: Equation or list of equations expected instead of True in the first argument {True}. >>
(* DSolve[{True},y(x),x] *)
How do I recover from this error. I've tried Clear[y'[x]]
. That didn't work.
Remove[y]
will do the trick. $\endgroup$ – ciao Jan 13 '14 at 6:25Remove
here! It will break any definitions that referencey
, and it will alter even localized appearances of the Symbol, though the definitions may still work. Try e.g.fn[y_] := Sin[y]; Remove[y]; Definition[fn]
$\endgroup$ – Mr.Wizard Jan 13 '14 at 8:34